From b837875b97b072e7a722298cfb7faab2bea95452 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Wed, 11 Apr 2018 16:24:21 +0300 Subject: [PATCH] Working on tests --- tests/acceptance/GatewayFeesCest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/GatewayFeesCest.php b/tests/acceptance/GatewayFeesCest.php index eb3153174f32..031e91d4f28f 100644 --- a/tests/acceptance/GatewayFeesCest.php +++ b/tests/acceptance/GatewayFeesCest.php @@ -63,7 +63,7 @@ class GatewayFeesCest $I->wait(3); $I->click('Save Invoice'); $I->wait(3); - $this->createPayment($I, $invitationKey, $total + $partialFeeWithTax, 0, $partialFeeWithTax); + $this->createPayment($I, $invitationKey, $total, 0, $partialFeeWithTax); } private function configureGatewayFeeTax($I, $taxName = '', $taxRate = '') @@ -170,7 +170,7 @@ class GatewayFeesCest 'id' => $invoiceId, 'amount' => ($amount + $fee * 2), ]); - /* + $I->createOnlinePayment($I, $invitationKey); $I->wait(3); $I->seeInDatabase('invoices', [ @@ -178,6 +178,5 @@ class GatewayFeesCest 'amount' => ($amount + $fee), 'balance' => $balance ]); - */ } }