fixed balanced test
This commit is contained in:
parent
871558e055
commit
38e580855b
@ -138,7 +138,7 @@ class BalancedTest extends PHPUnit_Framework_TestCase {
|
|||||||
public function testCredit() {
|
public function testCredit() {
|
||||||
$account = c::balanced()->createBankAccount('UNIT TEST RESTAURANT', '9900000002', '021000021', 'checking');
|
$account = c::balanced()->createBankAccount('UNIT TEST RESTAURANT', '9900000002', '021000021', 'checking');
|
||||||
$res = $account->credits->create([
|
$res = $account->credits->create([
|
||||||
'amount' => $amount * 100
|
'amount' => 5555
|
||||||
]);
|
]);
|
||||||
$this->assertTrue($res->id ? true : false);
|
$this->assertTrue($res->id ? true : false);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user