X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fconfig_test.yml;h=216f84316078b06734b5ff37543e787f183803e4;hb=1b6b77f02956a767fb3fa9825a7b97b4879f7d42;hp=32156963e086e5bedc2fcca7d58407ce2376eb20;hpb=bdf2add2e80dc52a02113c50636b5f887639b31a;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/config_test.yml b/app/config/config_test.yml index 32156963..216f8431 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml @@ -1,5 +1,7 @@ imports: - { resource: config_dev.yml } + - { resource: parameters_test.yml } + - { resource: services_test.yml } framework: test: ~ @@ -7,19 +9,29 @@ framework: storage_id: session.storage.mock_file profiler: collect: false + translator: + enabled: false web_profiler: toolbar: false intercept_redirects: false swiftmailer: - disable_delivery: true + # to be able to read emails sent + spool: + type: file doctrine: dbal: - driver: pdo_sqlite - path: %kernel.root_dir%/../data/db/wallabag_test.sqlite - host: localhost + driver: "%test_database_driver%" + host: "%test_database_host%" + port: "%test_database_port%" + dbname: "%test_database_name%" + user: "%test_database_user%" + password: "%test_database_password%" + charset: "%test_database_charset%" + path: "%env(TEST_DATABASE_PATH)%" + orm: metadata_cache_driver: type: service