Fix for tax rates test
This commit is contained in:
parent
a31d8b8176
commit
ad12557c78
2 changed files with 3 additions and 2 deletions
|
|
@ -1062,6 +1062,7 @@ $LANG = array(
|
|||
'invalid_card_number' => 'The credit card number is not valid.',
|
||||
'invalid_expiry' => 'The expiration date is not valid.',
|
||||
'invalid_cvv' => 'The CVV is not valid.',
|
||||
'cost' => 'Cost',
|
||||
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ class TaxRatesCest
|
|||
$total += round($itemCost * $itemTaxRate / 100, 2);
|
||||
$total += round($itemCost * $invoiceTaxRate / 100, 2);
|
||||
|
||||
$itemTaxRate = number_format($itemTaxRate, 2);
|
||||
$invoiceTaxRate = number_format($invoiceTaxRate, 2);
|
||||
$itemTaxRate = number_format($itemTaxRate, 3);
|
||||
$invoiceTaxRate = number_format($invoiceTaxRate, 3);
|
||||
|
||||
// create tax rates
|
||||
$I->amOnPage('/tax_rates/create');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue