Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2018-05-24 17:24:57 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2018-05-24 17:24:57 +0300
commit61bf67bdb87f59fd098e0206417f50efb1f9bac7 (patch)
treed653c9fcdb05613a76a22ff5a94244a2370f7d94 /config
parent5d0d5af2fad9f0e94dd2329b476eeebf112cdc42 (diff)
Use DI to inject test now value for ApiCounterTest. (#12977)
Diffstat (limited to 'config')
-rw-r--r--config/environment/test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environment/test.php b/config/environment/test.php
index c2bdb11dea..8e75e1d970 100644
--- a/config/environment/test.php
+++ b/config/environment/test.php
@@ -15,6 +15,9 @@ return array(
},
'cache.eager.cache_id' => 'eagercache-test-',
+ // set in individual tests to override now value when needed
+ 'Tests.now' => false,
+
// Disable loading core translations
'Piwik\Translation\Translator' => DI\decorate(function ($previous, ContainerInterface $c) {
$loadRealTranslations = $c->get('test.vars.loadRealTranslations');