X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=app%2Fconfig%2Ftests%2Fparameters_test.sqlite.yml;h=64cd984b9c01d74b911f7a32796c69bd12b0ba76;hb=778543311f5efde4c99321f257c5a9c34a7dea5f;hp=1952e3a61135340aa66c461c53c53e0fbe1b3332;hpb=57386125abc5c50c1438cf7e78d01f06021adc0a;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/tests/parameters_test.sqlite.yml b/app/config/tests/parameters_test.sqlite.yml index 1952e3a6..64cd984b 100644 --- a/app/config/tests/parameters_test.sqlite.yml +++ b/app/config/tests/parameters_test.sqlite.yml @@ -1,8 +1,13 @@ parameters: test_database_driver: pdo_sqlite + test_database_driver_class: ~ test_database_host: localhost test_database_port: 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.project_dir%/data/db/wallabag_test.sqlite" + test_database_charset: utf8