Fixed some tests. [skip ci]

This commit is contained in:
James Cole
2017-04-08 10:20:34 +02:00
parent fd01b54a14
commit 6765f08b07
4 changed files with 74 additions and 47 deletions

View File

@@ -45,8 +45,6 @@ class CategoryController extends Controller
$cache->addProperty('category-period-expenses-report');
$cache->addProperty($accounts->pluck('id')->toArray());
if ($cache->has()) {
Log::debug('Return report from cache');
return $cache->get(); // @codeCoverageIgnore
}
/** @var CategoryRepositoryInterface $repository */
@@ -79,8 +77,6 @@ class CategoryController extends Controller
$cache->addProperty('category-period-income-report');
$cache->addProperty($accounts->pluck('id')->toArray());
if ($cache->has()) {
Log::debug('Return report from cache');
return $cache->get(); // @codeCoverageIgnore
}
/** @var CategoryRepositoryInterface $repository */