diff options
author | Jeremy <jeremy.benoist@gmail.com> | 2015-03-27 19:46:36 +0100 |
---|---|---|
committer | Jeremy <jeremy.benoist@gmail.com> | 2015-03-27 19:49:11 +0100 |
commit | a05be8abecfe9e5dc032a93ba1a0b6063f3f7c9b (patch) | |
tree | d96e5589c6d699cda05209865f663fe2a16963ec /app/config | |
parent | f37d1427a1b75f9d7a2e273b2e9fb0e895a769ab (diff) | |
download | wallabag-a05be8abecfe9e5dc032a93ba1a0b6063f3f7c9b.tar.gz wallabag-a05be8abecfe9e5dc032a93ba1a0b6063f3f7c9b.tar.zst wallabag-a05be8abecfe9e5dc032a93ba1a0b6063f3f7c9b.zip |
Use doctrine cache for tests
Diffstat (limited to 'app/config')
-rw-r--r-- | app/config/config_test.yml | 7 | ||||
-rw-r--r-- | app/config/services.yml | 8 |
2 files changed, 12 insertions, 3 deletions
diff --git a/app/config/config_test.yml b/app/config/config_test.yml index a6ead1e8..32156963 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml | |||
@@ -20,3 +20,10 @@ doctrine: | |||
20 | driver: pdo_sqlite | 20 | driver: pdo_sqlite |
21 | path: %kernel.root_dir%/../data/db/wallabag_test.sqlite | 21 | path: %kernel.root_dir%/../data/db/wallabag_test.sqlite |
22 | host: localhost | 22 | host: localhost |
23 | orm: | ||
24 | metadata_cache_driver: | ||
25 | type: service | ||
26 | id: filesystem_cache | ||
27 | query_cache_driver: | ||
28 | type: service | ||
29 | id: filesystem_cache | ||
diff --git a/app/config/services.yml b/app/config/services.yml index 91a03e10..af22d381 100644 --- a/app/config/services.yml +++ b/app/config/services.yml | |||
@@ -6,6 +6,8 @@ parameters: | |||
6 | security.validator.user_password.class: Wallabag\CoreBundle\Security\Validator\WallabagUserPasswordValidator | 6 | security.validator.user_password.class: Wallabag\CoreBundle\Security\Validator\WallabagUserPasswordValidator |
7 | 7 | ||
8 | services: | 8 | services: |
9 | # service_name: | 9 | # used for tests |
10 | # class: AppBundle\Directory\ClassName | 10 | filesystem_cache: |
11 | # arguments: ["@another_service_name", "plain_value", "%parameter_name%"] | 11 | class: Doctrine\Common\Cache\FilesystemCache |
12 | arguments: | ||
13 | - %kernel.cache_dir%/doctrine/metadata | ||