Fixed tests.

This commit is contained in:
James Cole 2015-05-15 22:06:52 +02:00
parent 911c7c662a
commit cc375d58bb

View File

@ -115,6 +115,8 @@ class ReportControllerTest extends TestCase
$query = $this->mock('FireflyIII\Helpers\Report\ReportQueryInterface');
$helper->shouldReceive('yearBalanceReport')->withAnyArgs()->andReturn([]);
$query->shouldReceive('getAllAccounts')->withAnyArgs()->andReturn([]);
$query->shouldReceive('incomeInPeriod')->withAnyArgs()->andReturn([]);
$query->shouldReceive('journalsByRevenueAccount')->withAnyArgs()->andReturn($journals);
$query->shouldReceive('journalsByExpenseAccount')->withAnyArgs()->andReturn($journals);