forked from wallabag/wallabag
Isolated tests
Use https://github.com/dmaicher/doctrine-test-bundle to have test isolation.
This commit is contained in:
@ -5,5 +5,8 @@ parameters:
|
||||
test_database_name: ~
|
||||
test_database_user: ~
|
||||
test_database_password: ~
|
||||
test_database_path: "%kernel.root_dir%/../data/db/wallabag_test.sqlite"
|
||||
# Using an environnement variable in order to avoid the error "attempt to write a readonly database"
|
||||
# when the schema is dropped then recreate
|
||||
test_database_path: "%env(TEST_DATABASE_PATH)%"
|
||||
env(TEST_DATABASE_PATH): "%kernel.root_dir%/../data/db/wallabag_test.sqlite"
|
||||
test_database_charset: utf8
|
||||
|
||||
Reference in New Issue
Block a user