mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 19:01:58 +00:00
Should fix the tests
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user