mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Cover endOfPeriod method of the Navigation class
The custom frequency requires a timezone configuration, forcing it to run in the integration test scope. Running the integration tests requires a database connection in the build process. It enables other case tests. The API Tests cause interference in other tests, requiring isolating them.
This commit is contained in:
@@ -83,6 +83,7 @@ class CreateDatabase extends Command
|
||||
$pdo = new PDO($dsn, env('DB_USERNAME'), env('DB_PASSWORD'), $options);
|
||||
} catch (PDOException $e) {
|
||||
$this->friendlyError(sprintf('Error when connecting to DB: %s', $e->getMessage()));
|
||||
return 1;
|
||||
}
|
||||
|
||||
// only continue when no error.
|
||||
|
Reference in New Issue
Block a user