mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-11 07:55:51 -06:00
Config for test database.
This commit is contained in:
parent
0b16765f37
commit
3c4e7158a1
@ -15,6 +15,7 @@ install:
|
||||
- composer install
|
||||
- php artisan env
|
||||
- mv -v .env.testing .env
|
||||
- php artisan migrate --seed
|
||||
|
||||
script:
|
||||
- phpunit --debug
|
||||
|
@ -48,7 +48,7 @@ return [
|
||||
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
'database' => realpath(__DIR__ . '/../tests/_data/db.sqlite'),
|
||||
'database' => realpath(__DIR__ . '/../tests/database/db.sqlite'),
|
||||
'prefix' => '',
|
||||
],
|
||||
|
||||
|
@ -18,14 +18,14 @@ class ChangesForV332 extends Migration {
|
||||
|
||||
Schema::table(
|
||||
'accounts', function (Blueprint $table) {
|
||||
$table->boolean('encrypted');
|
||||
$table->boolean('encrypted')->default(0);
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
Schema::table(
|
||||
'reminders', function (Blueprint $table) {
|
||||
$table->text('metadata');
|
||||
$table->text('metadata')->nullable();
|
||||
|
||||
}
|
||||
);
|
||||
|
1
tests/database/.gitignore
vendored
Normal file
1
tests/database/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.sqlite
|
Loading…
Reference in New Issue
Block a user