From 2ee11654d5841fad4d17380b31bcd324378f906e Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 9 Apr 2017 21:08:37 +0300 Subject: [PATCH] Working on tests --- tests/acceptance/GatewayFeesCest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/GatewayFeesCest.php b/tests/acceptance/GatewayFeesCest.php index 807b88bb92f2..53c1a2725902 100644 --- a/tests/acceptance/GatewayFeesCest.php +++ b/tests/acceptance/GatewayFeesCest.php @@ -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);