From 0938bbedafe3c05e5478d853cdc8d9fb68866cc2 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 19 Mar 2017 20:08:32 +0200 Subject: [PATCH] Fix tests --- tests/acceptance/OnlinePaymentCest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/OnlinePaymentCest.php b/tests/acceptance/OnlinePaymentCest.php index 3fd1f3e823..d114189711 100644 --- a/tests/acceptance/OnlinePaymentCest.php +++ b/tests/acceptance/OnlinePaymentCest.php @@ -47,7 +47,7 @@ class OnlinePaymentCest $invoiceId = $I->grabFromDatabase('invoices', 'id', ['client_id' => $clientId, 'invoice_number' => $invoiceNumber]); $invitationKey = $I->grabFromDatabase('invitations', 'invitation_key', ['invoice_id' => $invoiceId]); - $I->createOnlinePayment($I, $invoiceNumber); + $I->createOnlinePayment($I, $invitationKey); /* $invoiceId = $I->grabFromDatabase('invoices', 'id', ['client_id' => $clientId]);