Fix for tax rates test

This commit is contained in:
Hillel Coren 2016-03-15 15:25:00 +02:00
parent a31d8b8176
commit ad12557c78
2 changed files with 3 additions and 2 deletions

View File

@ -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',
);

View File

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