1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Working on tests

This commit is contained in:
Hillel Coren 2017-04-09 21:08:37 +03:00
parent 5f91c73e3b
commit 2ee11654d5

View File

@ -59,7 +59,7 @@ class GatewayFeesCest
// partial invoice (resaving invoice between payments)
$invitationKey = $this->createInvoice($I, $clientName, $productKey, $total, $partialFeeWithTax, $total / 2);
$invoiceId = $I->grabFromDatabase('invitations', 'invoice_id', ['invitation_key' => $invitationKey]);
$invoicePublicId = $I->grabFromDatabase('invoices', 'public_id', ['invoice_id' => $invoiceId]);
$invoicePublicId = $I->grabFromDatabase('invoices', 'public_id', ['id' => $invoiceId]);
$I->amOnPage('/invoices/' . $invoicePublicId . '/edit');
$I->click('Save');
$I->wait(2);