X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Ftests%2Fparameters_test.sqlite.yml;h=5c731bf54f6bcc704e45b8910d68bb005876a05f;hb=7ab5eb9508921d84b4b4ec84a59135d536da748e;hp=6e9f98de54fa3448523239b21cd528b7a452a1ad;hpb=f2e5fdc3666a2a6525b4202ab48df05efeebaf5c;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/tests/parameters_test.sqlite.yml b/app/config/tests/parameters_test.sqlite.yml index 6e9f98de..5c731bf5 100644 --- a/app/config/tests/parameters_test.sqlite.yml +++ b/app/config/tests/parameters_test.sqlite.yml @@ -5,4 +5,8 @@ parameters: test_database_name: ~ test_database_user: ~ test_database_password: ~ - test_database_path: "%kernel.root_dir%/../data/db/wallabag_testHU.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