From 5e32e54e986e4e124b05d3f55d0aa26f5e593537 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 19 Mar 2017 16:47:35 +0200 Subject: [PATCH] Fix for tests --- tests/acceptance/TaxRatesCest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/TaxRatesCest.php b/tests/acceptance/TaxRatesCest.php index 75d972e2b438..86d6f6edc965 100644 --- a/tests/acceptance/TaxRatesCest.php +++ b/tests/acceptance/TaxRatesCest.php @@ -63,7 +63,7 @@ class TaxRatesCest $I->selectDropdown($I, $clientEmail, '.client_select .dropdown-toggle'); $I->fillField('table.invoice-table tbody tr:nth-child(1) #product_key', $productKey); $I->click('table.invoice-table tbody tr:nth-child(1) .tt-selectable'); - $I->selectOption('#taxRateSelect1', $invoiceTaxName . ': ' . floatval($invoiceTaxRate) . '%'); + $I->selectOption('#taxRateSelect1', $invoiceTaxName . ': ' . $invoiceTaxRate . '%'); $I->wait(3); // check total is right before saving