mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-22 12:04:00 +00:00
Fix tests
This commit is contained in:
@@ -72,6 +72,8 @@ class IndexControllerTest extends TestCase
|
||||
$pref->data = 50;
|
||||
Preferences::shouldReceive('get')->withArgs(['listPageSize', 50])->atLeast()->once()->andReturn($pref);
|
||||
|
||||
$repository->shouldReceive('getOccurrencesInRange')->atLeast()->once()->andReturn([]);
|
||||
|
||||
$this->mockDefaultSession();
|
||||
|
||||
$transformer->shouldReceive('setParameters')->atLeast()->once();
|
||||
@@ -126,6 +128,8 @@ class IndexControllerTest extends TestCase
|
||||
$pref->data = 50;
|
||||
Preferences::shouldReceive('get')->withArgs(['listPageSize', 50])->atLeast()->once()->andReturn($pref);
|
||||
|
||||
$repository->shouldReceive('getOccurrencesInRange')->atLeast()->once()->andReturn([]);
|
||||
|
||||
$this->mockDefaultSession();
|
||||
|
||||
$transformer->shouldReceive('setParameters')->atLeast()->once();
|
||||
|
Reference in New Issue
Block a user