Improved test coverage.

This commit is contained in:
James Cole
2015-06-04 21:35:36 +02:00
parent bb1da31830
commit ad1c61d959
16 changed files with 159 additions and 109 deletions

View File

@@ -89,7 +89,7 @@ class Amount
$cache->addProperty('formatJournal');
if ($cache->has()) {
return $cache->get();
return $cache->get(); // @codeCoverageIgnore
}

View File

@@ -30,7 +30,7 @@ class Steam
$cache->addProperty($date);
$cache->addProperty($ignoreVirtualBalance);
if ($cache->has()) {
return $cache->get();
return $cache->get(); // @codeCoverageIgnore
}

View File

@@ -33,7 +33,7 @@ class Journal extends Twig_Extension
$cache->addProperty($journal->id);
$cache->addProperty('typeIcon');
if ($cache->has()) {
return $cache->get();
return $cache->get(); // @codeCoverageIgnore
}
$type = $journal->transactionType->type;