Merge pull request #10744 from turbo124/v5-develop

v5.11.53
This commit is contained in:
David Bomba 2025-03-08 15:29:15 +11:00 committed by GitHub
commit 24dfce52a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 7 deletions

View File

@ -1 +1 @@
5.11.52
5.11.53

View File

@ -180,7 +180,8 @@ class BaseDriver extends AbstractPaymentDriver
return $fields;
}
public function setHeadless($headless): self
public function setHeadless(bool $headless): self
{
$this->headless = $headless;

View File

@ -17,8 +17,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => env('APP_VERSION', '5.11.52'),
'app_tag' => env('APP_TAG', '5.11.52'),
'app_version' => env('APP_VERSION', '5.11.53'),
'app_tag' => env('APP_TAG', '5.11.53'),
'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', false),

View File

@ -297,7 +297,7 @@ class StorecoveTest extends TestCase
foreach($invoice->line_items as $item)
{
$this->assertEquals('1', $item->tax_id);
$this->assertTrue(in_array($item->tax_id, ['1','2']));
$this->assertEquals(0, $item->tax_rate1);
}
@ -340,7 +340,8 @@ class StorecoveTest extends TestCase
foreach($invoice->line_items as $item)
{
$this->assertEquals('1', $item->tax_id);
$this->assertTrue(in_array($item->tax_id, ['1','2']));
$this->assertEquals(0, $item->tax_rate1);
}
@ -376,7 +377,8 @@ class StorecoveTest extends TestCase
foreach($invoice->line_items as $item)
{
$this->assertEquals('1', $item->tax_id);
$this->assertTrue(in_array($item->tax_id, ['1','2']));
$this->assertEquals($tax_rate, $item->tax_rate1);
}