mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
New unit tests to cover missed methods.
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
<?php
|
||||
// Here you can initialize variables that will be available to your tests
|
||||
$db = realpath(__DIR__ . '/../_data') . '/db.sqlite';
|
||||
if (!file_exists($db)) {
|
||||
$out = [];
|
||||
exec('touch ' . $db);
|
||||
exec('php artisan migrate --seed --env=testing', $out);
|
||||
exec('sqlite3 tests/_data/db.sqlite .dump > tests/_data/dump.sql', $out);
|
||||
}
|
||||
Reference in New Issue
Block a user