Fix tests, remove some logging.

This commit is contained in:
James Cole
2017-01-08 11:41:09 +01:00
parent 01aba73f5b
commit 8a00101470
3 changed files with 7 additions and 1 deletions

View File

@@ -215,6 +215,7 @@ class BudgetControllerTest extends TestCase
// mock budget repository
$budgetRepository = $this->mock(BudgetRepositoryInterface::class);
$budgetRepository->shouldReceive('spentInPeriod')->andReturn('1');
$budgetRepository->shouldReceive('getBudgetLimits')->andReturn(new Collection);
// mock journal collector:
$collector = $this->mock(JournalCollectorInterface::class);