diff --git a/VERSION.txt b/VERSION.txt index 9976e471ff..6914875179 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -5.11.52 \ No newline at end of file +5.11.53 \ No newline at end of file diff --git a/app/PaymentDrivers/BaseDriver.php b/app/PaymentDrivers/BaseDriver.php index 511a2f9571..1c161cc0ce 100644 --- a/app/PaymentDrivers/BaseDriver.php +++ b/app/PaymentDrivers/BaseDriver.php @@ -180,7 +180,8 @@ class BaseDriver extends AbstractPaymentDriver return $fields; } - public function setHeadless($headless): self + + public function setHeadless(bool $headless): self { $this->headless = $headless; diff --git a/config/ninja.php b/config/ninja.php index 358d43ce39..26dce28e80 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -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), diff --git a/tests/Integration/Einvoice/Storecove/StorecoveTest.php b/tests/Integration/Einvoice/Storecove/StorecoveTest.php index 95d0eec35e..60571fedc0 100644 --- a/tests/Integration/Einvoice/Storecove/StorecoveTest.php +++ b/tests/Integration/Einvoice/Storecove/StorecoveTest.php @@ -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); }