mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix for tests
This commit is contained in:
parent
ddfb9dac7e
commit
ac97eb3e03
@ -29,7 +29,7 @@ class TaxRatesCest
|
||||
$total = $itemCost;
|
||||
$total += round($itemCost * $itemTaxRate / 100, 2);
|
||||
$total += round($itemCost * $invoiceTaxRate / 100, 2);
|
||||
|
||||
|
||||
$itemTaxRate = number_format($itemTaxRate, 3);
|
||||
$invoiceTaxRate = number_format($invoiceTaxRate, 3);
|
||||
|
||||
@ -59,7 +59,7 @@ class TaxRatesCest
|
||||
$I->selectOption('select[name=default_tax_rate_id]', $itemTaxName . ' ' . $itemTaxRate . '%');
|
||||
$I->click('Save');
|
||||
$I->wait(1);
|
||||
$I->see($productKey);
|
||||
//$I->see($productKey);
|
||||
|
||||
// create client
|
||||
$I->amOnPage('/clients/create');
|
||||
@ -85,9 +85,9 @@ class TaxRatesCest
|
||||
$I->see("\${$total}");
|
||||
$I->amOnPage('/invoices');
|
||||
$I->wait(2);
|
||||
|
||||
|
||||
// check total is right in list view
|
||||
$I->see("\${$total}");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user