diff options
Diffstat (limited to 'app')
-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 | ||