mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 03:21:01 +00:00
9ca069a6fe
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.
12 lines
506 B
YAML
12 lines
506 B
YAML
parameters:
|
|
test_database_driver: pdo_sqlite
|
|
test_database_host: localhost
|
|
test_database_port:
|
|
test_database_name: ~
|
|
test_database_user: ~
|
|
test_database_password: ~
|
|
# 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
|