This fixes the broken tests.

This commit is contained in:
James Cole
2016-02-10 12:01:45 +01:00
parent 5974bdcc2a
commit bc67113d77
9 changed files with 6 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ class ChartBudgetControllerTest extends TestCase
{
$repository = $this->mock('FireflyIII\Repositories\Budget\BudgetRepositoryInterface');
$repository->shouldReceive('getExpensesPerMonth')->once()->andReturn(new Collection([new Budget]));
$repository->shouldReceive('spentPerDay')->once()->andReturn([]);
$repository->shouldReceive('getFirstBudgetLimitDate')->once()->andReturn(new Carbon);
$this->be($this->user());