Fixes for tests

This commit is contained in:
David Bomba 2023-04-03 08:03:56 +10:00
parent 641502ff59
commit 96d65fe041
3 changed files with 0 additions and 7 deletions

View File

@ -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([

View File

@ -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([

View File

@ -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;