X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Ftests%2Fparameters_test.sqlite.yml;h=64cd984b9c01d74b911f7a32796c69bd12b0ba76;hb=a1661af17c9054a6c399dd9d5220f8d6a5091fa2;hp=b8a5f41a709020ae1e59a3d47f15dd10f47732a5;hpb=fc79f1ffa82529e5340d115b2f438ac5952e9cb0;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/tests/parameters_test.sqlite.yml b/app/config/tests/parameters_test.sqlite.yml index b8a5f41a..64cd984b 100644 --- a/app/config/tests/parameters_test.sqlite.yml +++ b/app/config/tests/parameters_test.sqlite.yml @@ -1,9 +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