mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-01 02:21:45 +00:00
Fixed test. [skip ci]
This commit is contained in:
@@ -200,7 +200,7 @@ class ReportHelperTest extends TestCase
|
|||||||
|
|
||||||
// fake!
|
// fake!
|
||||||
$repository->shouldReceive('getCategories')->andReturn($set);
|
$repository->shouldReceive('getCategories')->andReturn($set);
|
||||||
$repository->shouldReceive('spentInPeriodCorrected')->andReturn(rand(0, 100));
|
$repository->shouldReceive('spentInPeriodCorrected')->andReturn(rand(1, 100));
|
||||||
|
|
||||||
// test!
|
// test!
|
||||||
$object = $this->object->getCategoryReport(Carbon::now()->startOfMonth(), Carbon::now()->endOfMonth(), false);
|
$object = $this->object->getCategoryReport(Carbon::now()->startOfMonth(), Carbon::now()->endOfMonth(), false);
|
||||||
|
|||||||
Reference in New Issue
Block a user