1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

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->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
]);
*/
}
}