mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for tests
This commit is contained in:
parent
641502ff59
commit
96d65fe041
@ -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([
|
||||
|
@ -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([
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user