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 00a6bc57..4dca39d2 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml | |||
@@ -22,3 +22,10 @@ doctrine: | |||
22 | driver: pdo_sqlite | 22 | driver: pdo_sqlite |
23 | path: %kernel.root_dir%/../data/db/wallabag_test.sqlite | 23 | path: %kernel.root_dir%/../data/db/wallabag_test.sqlite |
24 | host: localhost | 24 | host: localhost |
25 | orm: | ||
26 | metadata_cache_driver: | ||
27 | type: service | ||
28 | id: filesystem_cache | ||
29 | query_cache_driver: | ||
30 | type: service | ||
31 | 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 | ||