From be922725cd43db980ef2cc4ce4f275992f4f2b98 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 9 Mar 2016 17:02:16 +0200 Subject: [PATCH] Fix for taxes test --- tests/acceptance/TaxRatesCest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/acceptance/TaxRatesCest.php b/tests/acceptance/TaxRatesCest.php index 1616438d56..051d504ed9 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');