X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fconfig_test.yml;h=fc067ff46892d2cf646f5dbad992d4d96574771b;hb=a1661af17c9054a6c399dd9d5220f8d6a5091fa2;hp=a6ead1e82386f172efc7ca77abbfb2ae17d008b7;hpb=ba7b9d48d407f87690a3fdc199b37714d2a52897;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/config_test.yml b/app/config/config_test.yml index a6ead1e8..fc067ff4 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml @@ -1,5 +1,6 @@ imports: - { resource: config_dev.yml } + - { resource: parameters_test.yml } framework: test: ~ @@ -7,16 +8,34 @@ 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%" + driver_class: "%test_database_driver_class%" + 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 + id: filesystem_cache + query_cache_driver: + type: service + id: filesystem_cache