mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Remove need for TEST_DATABASE_PATH
This commit is contained in:
parent
ab3eaf2d3d
commit
7e40142aa0
3 changed files with 7 additions and 12 deletions
|
@ -1,5 +1,2 @@
|
|||
parameters:
|
||||
# Using an environment variable in order to avoid the error "attempt to write a readonly database"
|
||||
# when the schema is dropped then recreate
|
||||
database_path: "%env(TEST_DATABASE_PATH)%"
|
||||
env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite"
|
||||
database_path: "%kernel.project_dir%/data/db/wallabag_test.sqlite"
|
||||
|
|
|
@ -1,5 +1,2 @@
|
|||
parameters:
|
||||
env(DATABASE_URL): sqlite://:@localhost/%env(TEST_DATABASE_PATH)%?charset=utf8
|
||||
# Using an environment variable in order to avoid the error "attempt to write a readonly database"
|
||||
# when the schema is dropped then recreate
|
||||
env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite"
|
||||
env(DATABASE_URL): sqlite:///%kernel.project_dir%/data/db/wallabag_test.sqlite?charset=utf8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue