diff options
Diffstat (limited to 'config/environment/test.php')
-rw-r--r-- | config/environment/test.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/environment/test.php b/config/environment/test.php index 0dfd6d9770..4eac327a6e 100644 --- a/config/environment/test.php +++ b/config/environment/test.php @@ -5,8 +5,11 @@ return array( // Disable logging 'Psr\Log\LoggerInterface' => DI\object('Psr\Log\NullLogger'), - // Disable translation cache - 'Piwik\Translation\Loader\LoaderInterface' => DI\object('Piwik\Translation\Loader\JsonFileLoader'), + 'Piwik\Cache\Backend' => function () { + return \Piwik\Cache::buildBackend('file'); + }, + 'cache.eager.cache_id' => 'eagercache-test-', + // Disable loading core translations 'Piwik\Translation\Translator' => DI\object() ->constructorParameter('directories', array()), |