mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 00:04:24 +00:00
This fixes the broken tests.
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user