Add test to get the balance group #130

This commit is contained in:
Nabeel Shahzad
2018-02-28 21:54:58 -06:00
parent 498e795e4b
commit d22eed50ad

View File

@@ -432,6 +432,9 @@ class FinanceTest extends TestCase
$user
);
$balance = $journalRepo->getBalance($journal);
$this->assertEquals(100, $balance->getValue());
$this->assertEquals(100, $journal->balance->getValue());
# find all transactions