Fix tests, improve coverage.

This commit is contained in:
James Cole
2018-06-02 06:11:13 +02:00
parent 790aeb3c46
commit ddc1d81665
4 changed files with 38 additions and 7 deletions

View File

@@ -104,7 +104,9 @@ class Authenticate
}
}
} catch (QueryException $e) {
// @codeCoverageIgnoreStart
throw new FireflyException('It seems the database has not yet been initialized. Did you run the correct upgrade or installation commands?');
// @codeCoverageIgnoreEnd
}
return $this->auth->authenticate();