diff --git a/tests/acceptance/TaxRatesCest.php b/tests/acceptance/TaxRatesCest.php index 1616438d569c..051d504ed9cf 100644 --- a/tests/acceptance/TaxRatesCest.php +++ b/tests/acceptance/TaxRatesCest.php @@ -29,7 +29,9 @@ class TaxRatesCest $total = $itemCost; $total += round($itemCost * $itemTaxRate / 100, 2); $total += round($itemCost * $invoiceTaxRate / 100, 2); + $itemTaxRate = number_format($itemTaxRate, 2); + $invoiceTaxRate = number_format($invoiceTaxRate, 2); // create tax rates $I->amOnPage('/tax_rates/create');