]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/config_test.yml
Remove custom Postgres class
[github/wallabag/wallabag.git] / app / config / config_test.yml
index 00a6bc578cdb33cfd87065d9e2566fc4abe55993..216f84316078b06734b5ff37543e787f183803e4 100644 (file)
@@ -1,5 +1,7 @@
 imports:
     - { resource: config_dev.yml }
+    - { resource: parameters_test.yml }
+    - { resource: services_test.yml }
 
 framework:
     test: ~
@@ -7,6 +9,8 @@ framework:
         storage_id: session.storage.mock_file
     profiler:
         collect: false
+    translator:
+        enabled: false
 
 web_profiler:
     toolbar: false
@@ -19,6 +23,19 @@ swiftmailer:
 
 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