Working on tests

This commit is contained in:
Hillel Coren 2018-04-11 16:24:21 +03:00
parent 6c841c9735
commit b837875b97

View File

@ -63,7 +63,7 @@ class GatewayFeesCest
$I->wait(3); $I->wait(3);
$I->click('Save Invoice'); $I->click('Save Invoice');
$I->wait(3); $I->wait(3);
$this->createPayment($I, $invitationKey, $total + $partialFeeWithTax, 0, $partialFeeWithTax); $this->createPayment($I, $invitationKey, $total, 0, $partialFeeWithTax);
} }
private function configureGatewayFeeTax($I, $taxName = '', $taxRate = '') private function configureGatewayFeeTax($I, $taxName = '', $taxRate = '')
@ -170,7 +170,7 @@ class GatewayFeesCest
'id' => $invoiceId, 'id' => $invoiceId,
'amount' => ($amount + $fee * 2), 'amount' => ($amount + $fee * 2),
]); ]);
/*
$I->createOnlinePayment($I, $invitationKey); $I->createOnlinePayment($I, $invitationKey);
$I->wait(3); $I->wait(3);
$I->seeInDatabase('invoices', [ $I->seeInDatabase('invoices', [
@ -178,6 +178,5 @@ class GatewayFeesCest
'amount' => ($amount + $fee), 'amount' => ($amount + $fee),
'balance' => $balance 'balance' => $balance
]); ]);
*/
} }
} }