From 96d65fe04127af54d5b177664124463172c7ba0e Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 3 Apr 2023 08:03:56 +1000 Subject: [PATCH] Fixes for tests --- tests/Unit/Tax/EuTaxTest.php | 3 --- tests/Unit/Tax/SumTaxTest.php | 2 -- tests/Unit/Tax/UsTaxTest.php | 2 -- 3 files changed, 7 deletions(-) diff --git a/tests/Unit/Tax/EuTaxTest.php b/tests/Unit/Tax/EuTaxTest.php index 52ac72ac8c8e..f6eae304295b 100644 --- a/tests/Unit/Tax/EuTaxTest.php +++ b/tests/Unit/Tax/EuTaxTest.php @@ -60,7 +60,6 @@ class EuTaxTest extends TestCase 'settings' => $settings, 'tax_data' => $tax_data, 'calculate_taxes' => true, - 'tax_all_products' => true, ]); $client = Client::factory()->create([ @@ -124,7 +123,6 @@ class EuTaxTest extends TestCase 'settings' => $settings, 'tax_data' => $tax_data, 'calculate_taxes' => true, - 'tax_all_products' => true, ]); $client = Client::factory()->create([ @@ -189,7 +187,6 @@ class EuTaxTest extends TestCase 'settings' => $settings, 'tax_data' => $tax_data, 'calculate_taxes' => true, - 'tax_all_products' => true, ]); $client = Client::factory()->create([ diff --git a/tests/Unit/Tax/SumTaxTest.php b/tests/Unit/Tax/SumTaxTest.php index 471956e39bce..dc04b69e7ae2 100644 --- a/tests/Unit/Tax/SumTaxTest.php +++ b/tests/Unit/Tax/SumTaxTest.php @@ -91,7 +91,6 @@ class SumTaxTest extends TestCase public function testCalcInvoiceNoTax() { $this->company->calculate_taxes = false; - $this->company->tax_all_products = true; $this->company->save(); $client = Client::factory()->create([ @@ -134,7 +133,6 @@ class SumTaxTest extends TestCase { $this->company->calculate_taxes = true; - $this->company->tax_all_products = true; $this->company->save(); $client = Client::factory()->create([ diff --git a/tests/Unit/Tax/UsTaxTest.php b/tests/Unit/Tax/UsTaxTest.php index 82f8dc9777ec..e2299bc65da3 100644 --- a/tests/Unit/Tax/UsTaxTest.php +++ b/tests/Unit/Tax/UsTaxTest.php @@ -98,7 +98,6 @@ class UsTaxTest extends TestCase 'settings' => $settings, 'tax_data' => $tax_data, 'calculate_taxes' => true, - 'tax_all_products' => true, ]); $client = Client::factory()->create([ @@ -179,7 +178,6 @@ class UsTaxTest extends TestCase $client->save(); $company = $invoice->company; - $company->tax_all_products = false; $tax_data = $company->tax_data; $tax_data->regions->US->has_sales_above_threshold = true;