From a27471ae554653f07348d0637ae8328dcca38b83 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 7 Jun 2015 09:30:24 +0200 Subject: [PATCH] Fixed test. [skip ci] --- tests/helpers/ReportHelperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);