Working on tests

This commit is contained in:
Hillel Coren 2018-03-12 21:16:17 +02:00
parent b996d63713
commit 924be9eb7d

View File

@ -18,6 +18,11 @@ class DiscountCest
{ {
$I->wantTo('test line item discounts'); $I->wantTo('test line item discounts');
// enable line item taxes
$I->amOnPage('/settings/tax_rates');
$I->checkOption('#invoice_item_taxes');
$I->click('Save');
$clientEmail = $this->faker->safeEmail; $clientEmail = $this->faker->safeEmail;
$itemTaxName = $this->faker->word; $itemTaxName = $this->faker->word;
$productKey = $this->faker->word; $productKey = $this->faker->word;