mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Improved test coverage.
This commit is contained in:
@@ -114,7 +114,7 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
$cache->addProperty($preference->data);
|
||||
$cache->addProperty('frontPageaccounts');
|
||||
if ($cache->has()) {
|
||||
return $cache->get();
|
||||
return $cache->get(); // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
$cache->addProperty($start);
|
||||
$cache->addProperty($end);
|
||||
if ($cache->has()) {
|
||||
return $cache->get();
|
||||
return $cache->get(); // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
$set = Auth::user()
|
||||
@@ -233,7 +233,7 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
$cache->addProperty($ids);
|
||||
$cache->addProperty('piggyAccounts');
|
||||
if ($cache->has()) {
|
||||
return $cache->get();
|
||||
return $cache->get(); // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
$ids = array_unique($ids);
|
||||
|
Reference in New Issue
Block a user