aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/config
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-28 10:46:33 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-28 10:46:33 +0100
commitbdf2add2e80dc52a02113c50636b5f887639b31a (patch)
tree50a9275a91c9cb5510ea8c8de21816e545f80e92 /app/config
parentf37d1427a1b75f9d7a2e273b2e9fb0e895a769ab (diff)
parent3e6b7ea0e9251d8ae69af5dc2e1eb65887c3da9f (diff)
downloadwallabag-bdf2add2e80dc52a02113c50636b5f887639b31a.tar.gz
wallabag-bdf2add2e80dc52a02113c50636b5f887639b31a.tar.zst
wallabag-bdf2add2e80dc52a02113c50636b5f887639b31a.zip
Merge pull request #1163 from wallabag/v2-speed-up-tests
Speed up tests
Diffstat (limited to 'app/config')
-rw-r--r--app/config/config_test.yml7
-rw-r--r--app/config/services.yml8
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
8services: 8services:
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