Fixed test. [skip ci]

This commit is contained in:
James Cole 2015-06-07 09:30:24 +02:00
parent e27e3622a8
commit a27471ae55

View File

@ -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);