]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/config_test.yml
Isolated tests
[github/wallabag/wallabag.git] / app / config / config_test.yml
index a6ead1e82386f172efc7ca77abbfb2ae17d008b7..c620c35995c3afb97febcfeecf1d3e72191a263e 100644 (file)
@@ -1,5 +1,6 @@
 imports:
     - { resource: config_dev.yml }
+    - { resource: parameters_test.yml }
 
 framework:
     test: ~
@@ -7,16 +8,33 @@ 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
+            id: filesystem_cache
+        query_cache_driver:
+            type: service
+            id: filesystem_cache