Skip to content

Firefly III: a personal finances manager

Make sure database is present in tests.

James Cole0ef9b5b462bc
diff --git a/.travis.yml b/.travis.yml
index 3bc855b12c..bcba948aa5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,12 +5,13 @@ php:
install:
- phpenv config-rm xdebug.ini
- - composer selfupdate
- rm composer.lock
- composer update --no-scripts
- php artisan clear-compiled
- php artisan optimize
- php artisan env
+ - cp .env.testing .env
+ - mv storage/database/databasecopy.sqlite storage/database/database.sqlite
script:
- phpunit
\ No newline at end of file
diff --git a/storage/database/.gitignore b/storage/database/.gitignore
index 2f8355d95c..5382885af6 100644
--- a/storage/database/.gitignore
+++ b/storage/database/.gitignore
@@ -1,3 +1,3 @@
*
!.gitignore
-!seed.*.json
\ No newline at end of file
+!databasecopy.sqlite
\ No newline at end of file