diff --git a/tests/helpers/ReportHelperTest.php b/tests/helpers/ReportHelperTest.php index c2be29db02..a97578afb8 100644 --- a/tests/helpers/ReportHelperTest.php +++ b/tests/helpers/ReportHelperTest.php @@ -200,7 +200,7 @@ class ReportHelperTest extends TestCase // fake! $repository->shouldReceive('getCategories')->andReturn($set); - $repository->shouldReceive('spentInPeriodCorrected')->andReturn(rand(0, 100)); + $repository->shouldReceive('spentInPeriodCorrected')->andReturn(rand(1, 100)); // test! $object = $this->object->getCategoryReport(Carbon::now()->startOfMonth(), Carbon::now()->endOfMonth(), false);