mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Fixed tests.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user