mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on tests
This commit is contained in:
parent
6c841c9735
commit
b837875b97
@ -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
|
||||||
]);
|
]);
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user