mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Clean up some tests
This commit is contained in:
@@ -103,6 +103,8 @@ class ShowControllerTest extends TestCase
|
||||
$collector->shouldReceive('setTypes')->andReturnSelf()->atLeast()->once();
|
||||
$collector->shouldReceive('getExtractedJournals')->andReturn([$journal]);
|
||||
$collector->shouldReceive('withAccountInformation')->andReturnSelf();
|
||||
$collector->shouldReceive('withCategoryInformation')->andReturnSelf();
|
||||
|
||||
$collector->shouldReceive('getPaginatedGroups')->andReturn(new LengthAwarePaginator([$group], 0, 10));
|
||||
|
||||
$this->be($this->user());
|
||||
@@ -154,6 +156,7 @@ class ShowControllerTest extends TestCase
|
||||
$collector->shouldReceive('setPage')->andReturnSelf();
|
||||
$collector->shouldReceive('getExtractedJournals')->andReturn([$journal]);
|
||||
$collector->shouldReceive('withAccountInformation')->andReturnSelf();
|
||||
$collector->shouldReceive('withCategoryInformation')->andReturnSelf();
|
||||
$collector->shouldReceive('getPaginatedGroups')->andReturn(new LengthAwarePaginator([$group], 0, 10));
|
||||
|
||||
$this->be($this->user());
|
||||
|
Reference in New Issue
Block a user