fixes for tests

This commit is contained in:
David Bomba 2023-04-08 08:42:04 +10:00
parent c479c69ba2
commit ef700d3d80

View File

@ -97,7 +97,7 @@ class SumTaxTest extends TestCase
$tax_data->seller_region = 'US'; $tax_data->seller_region = 'US';
$tax_data->seller_subregion = 'CA'; $tax_data->seller_subregion = 'CA';
$tax_data->regions->US->has_sales_above_threshold = true; $tax_data->regions->US->has_sales_above_threshold = true;
$tax_data->regions->US->tax_all = true; $tax_data->regions->US->tax_all_subregions = true;
$this->company->calculate_taxes = false; $this->company->calculate_taxes = false;
$this->company->tax_data = $tax_data; $this->company->tax_data = $tax_data;
@ -148,7 +148,7 @@ class SumTaxTest extends TestCase
$tax_data->seller_region = 'US'; $tax_data->seller_region = 'US';
$tax_data->seller_subregion = 'CA'; $tax_data->seller_subregion = 'CA';
$tax_data->regions->US->has_sales_above_threshold = true; $tax_data->regions->US->has_sales_above_threshold = true;
$tax_data->regions->US->tax_all = true; $tax_data->regions->US->tax_all_subregions = true;
$this->company->calculate_taxes = true; $this->company->calculate_taxes = true;
$this->company->tax_data = $tax_data; $this->company->tax_data = $tax_data;