Should fix the tests

This commit is contained in:
James Cole
2016-03-22 17:22:48 +01:00
parent 9a8efc8a58
commit 70c8a524cd
4 changed files with 16 additions and 15 deletions

View File

@@ -82,6 +82,7 @@ class ChartBudgetControllerTest extends TestCase
{
$repository = $this->mock('FireflyIII\Repositories\Budget\BudgetRepositoryInterface');
$repository->shouldReceive('getBudgetsAndExpensesPerMonth')->once()->andReturn([]);
$repository->shouldReceive('getWithoutBudgetSum')->times(12)->andReturn('0');
$this->be($this->user());
$this->call('GET', '/chart/budget/year/default/20150101/20151231/1');