diff options
author | Nicolas Hart <contact@nclshart.net> | 2017-10-13 23:52:15 +0200 |
---|---|---|
committer | Nicolas Hart <contact@nclshart.net> | 2017-10-14 00:32:56 +0200 |
commit | 9ca069a6fea67ddf2ef44601901ea3c02e3cffbe (patch) | |
tree | 55bc8ee87f1f758bea7617bc24bc02c4a0c19408 /app/config/tests | |
parent | f44a927530476eaf903525481e5e8114c3b017b8 (diff) | |
download | wallabag-9ca069a6fea67ddf2ef44601901ea3c02e3cffbe.tar.gz wallabag-9ca069a6fea67ddf2ef44601901ea3c02e3cffbe.tar.zst wallabag-9ca069a6fea67ddf2ef44601901ea3c02e3cffbe.zip |
Replace kernel.root_dir by kernel.project_dir
kernel.root_dir and Kernel::getRootDir() are deprecated since Symfony 3.3.
See https://symfony.com/blog/new-in-symfony-3-3-a-simpler-way-to-get-the-project-root-directory and https://github.com/symfony/symfony/blob/3.3/UPGRADE-3.3.md#httpkernel for more information.
Diffstat (limited to 'app/config/tests')
-rw-r--r-- | app/config/tests/parameters_test.sqlite.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/config/tests/parameters_test.sqlite.yml b/app/config/tests/parameters_test.sqlite.yml index 5c731bf5..2b92d579 100644 --- a/app/config/tests/parameters_test.sqlite.yml +++ b/app/config/tests/parameters_test.sqlite.yml | |||
@@ -8,5 +8,5 @@ parameters: | |||
8 | # Using an environnement variable in order to avoid the error "attempt to write a readonly database" | 8 | # Using an environnement variable in order to avoid the error "attempt to write a readonly database" |
9 | # when the schema is dropped then recreate | 9 | # when the schema is dropped then recreate |
10 | test_database_path: "%env(TEST_DATABASE_PATH)%" | 10 | test_database_path: "%env(TEST_DATABASE_PATH)%" |
11 | env(TEST_DATABASE_PATH): "%kernel.root_dir%/../data/db/wallabag_test.sqlite" | 11 | env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite" |
12 | test_database_charset: utf8 | 12 | test_database_charset: utf8 |