mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-08-12 05:54:45 -05:00
Fix tests
This commit is contained in:
@@ -81,6 +81,8 @@ class CategoryControllerTest extends TestCase
|
||||
$category = factory(Category::class)->make();
|
||||
$repository->shouldReceive('getCategories')->andReturn(new Collection([$category]));
|
||||
$repository->shouldReceive('spentInPeriod')->andReturn('-1');
|
||||
$repository->shouldReceive('earnedInPeriod')->andReturn('1');
|
||||
|
||||
|
||||
$this->be($this->user());
|
||||
$response = $this->get(route('report-data.category.operations', ['1', '20120101', '20120131']));
|
||||
|
||||
Reference in New Issue
Block a user