forked from mirror/Part-DB.Part-DB-server
Use sqlite database for testing by default
This commit is contained in:
parent
dd2f74e19e
commit
a03b2ecf73
1 changed files with 3 additions and 2 deletions
|
@ -5,8 +5,9 @@ SYMFONY_DEPRECATIONS_HELPER=999999
|
||||||
PANTHER_APP_ENV=panther
|
PANTHER_APP_ENV=panther
|
||||||
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
|
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
|
||||||
|
|
||||||
|
DATABASE_URL="sqlite:///%kernel.project_dir%/var/app_test.db"
|
||||||
# Doctrine automatically adds an _test suffix to database name in test env
|
# Doctrine automatically adds an _test suffix to database name in test env
|
||||||
DATABASE_URL=mysql://root:@127.0.0.1:3306/part-db
|
#DATABASE_URL=mysql://root:@127.0.0.1:3306/part-db
|
||||||
|
|
||||||
# Disable update checks, as tests would fail, when github is not reachable
|
# Disable update checks, as tests would fail, when github is not reachable
|
||||||
CHECK_FOR_UPDATES=1
|
CHECK_FOR_UPDATES=0
|
Loading…
Add table
Add a link
Reference in a new issue