Fix tests and docs/better checks #130

This commit is contained in:
Nabeel Shahzad
2018-03-02 17:29:11 -06:00
parent 2df09c533b
commit 586769fbf0
14 changed files with 132 additions and 20 deletions

View File

@@ -575,8 +575,8 @@ class FinanceTest extends TestCase
$transactions = $journalRepo->getAllForObject($pirep);
$this->assertCount(4, $transactions['transactions']);
$this->assertEquals(3000, $transactions['credits']->getValue());
$this->assertEquals(1520, $transactions['debits']->getValue());
$this->assertCount(6, $transactions['transactions']);
$this->assertEquals(3020, $transactions['credits']->getValue());
$this->assertEquals(1540, $transactions['debits']->getValue());
}
}