Expand coverage.

This commit is contained in:
James Cole
2017-12-28 19:55:10 +01:00
parent fa65035664
commit bd3e262273
2 changed files with 27 additions and 2 deletions

View File

@@ -112,10 +112,10 @@ class UpdateController extends Controller
$check = version_compare($current, $first->getTitle());
FireflyConfig::set('last_update_check', time());
} catch (FireflyException $e) {
Log::error(sprintf('Could not check for updates: %s', $e->getMessage())); // @codeCoverageIgnore
Log::error(sprintf('Could not check for updates: %s', $e->getMessage()));
}
if ($check === -2) {
$string = strval(trans('firefly.update_check_error')); // @codeCoverageIgnore
$string = strval(trans('firefly.update_check_error'));
}
if ($check === -1) {