From cc375d58bb81789fee855db64194f34c3bc2fa4f Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 15 May 2015 22:06:52 +0200 Subject: [PATCH] Fixed tests. --- tests/controllers/ReportControllerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/controllers/ReportControllerTest.php b/tests/controllers/ReportControllerTest.php index 94543cada2..3b65c0087a 100644 --- a/tests/controllers/ReportControllerTest.php +++ b/tests/controllers/ReportControllerTest.php @@ -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);