Add code coverage ignore instructions.

This commit is contained in:
James Cole
2017-03-04 11:19:44 +01:00
parent 45f4395f26
commit 9d22bbee1c
25 changed files with 64 additions and 63 deletions

View File

@@ -47,7 +47,7 @@ class BalanceController extends Controller
$cache->addProperty('balance-report');
$cache->addProperty($accounts->pluck('id')->toArray());
if ($cache->has()) {
return $cache->get();
return $cache->get(); // @codeCoverageIgnore
}
$balance = $helper->getBalanceReport($accounts, $start, $end);