From 488a6f6d2461e42a2e8700c7f401583d542c5cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Burnichon?= Date: Thu, 18 Jun 2015 12:39:02 +0200 Subject: [PATCH] Use ArrayCache as default caching provider. This should speed up tests and also prevent external service dependency --- lib/conf.d/configuration.yml | 6 ++---- .../Core/Configuration/Fixtures/configuration-setup.yml | 6 ++---- .../Phrasea/Core/Configuration/Fixtures/configuration.yml | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/lib/conf.d/configuration.yml b/lib/conf.d/configuration.yml index b8966be706..9e48276ba4 100644 --- a/lib/conf.d/configuration.yml +++ b/lib/conf.d/configuration.yml @@ -18,10 +18,8 @@ main: path: '/tmp/db.sqlite' charset: UTF8 cache: - type: RedisCache - options: - host: localhost - port: 6379 + type: ArrayCache + options: {} search-engine: type: elasticsearch # type: phrasea diff --git a/tests/Alchemy/Tests/Phrasea/Core/Configuration/Fixtures/configuration-setup.yml b/tests/Alchemy/Tests/Phrasea/Core/Configuration/Fixtures/configuration-setup.yml index b8966be706..9e48276ba4 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Configuration/Fixtures/configuration-setup.yml +++ b/tests/Alchemy/Tests/Phrasea/Core/Configuration/Fixtures/configuration-setup.yml @@ -18,10 +18,8 @@ main: path: '/tmp/db.sqlite' charset: UTF8 cache: - type: RedisCache - options: - host: localhost - port: 6379 + type: ArrayCache + options: {} search-engine: type: elasticsearch # type: phrasea diff --git a/tests/Alchemy/Tests/Phrasea/Core/Configuration/Fixtures/configuration.yml b/tests/Alchemy/Tests/Phrasea/Core/Configuration/Fixtures/configuration.yml index b8966be706..9e48276ba4 100644 --- a/tests/Alchemy/Tests/Phrasea/Core/Configuration/Fixtures/configuration.yml +++ b/tests/Alchemy/Tests/Phrasea/Core/Configuration/Fixtures/configuration.yml @@ -18,10 +18,8 @@ main: path: '/tmp/db.sqlite' charset: UTF8 cache: - type: RedisCache - options: - host: localhost - port: 6379 + type: ArrayCache + options: {} search-engine: type: elasticsearch # type: phrasea