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 <benaka@piwik.pro>2015-05-27 03:50:58 +0300
committerdiosmosis <benaka@piwik.pro>2015-06-02 01:05:28 +0300
commitaf74cb780fea5dfbceb211fc20efad0cd146671b (patch)
treec222db93d423576e19a58ff006b2ffae5a39b5dd /config
parentc499a3f37fb34297fbc3a3fe34db3b603060ec09 (diff)
By default, use real Access instance in test DI config. In UI tests, default to using mock access.
Diffstat (limited to 'config')
-rw-r--r--config/environment/test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environment/test.php b/config/environment/test.php
index 205945db67..691a10f449 100644
--- a/config/environment/test.php
+++ b/config/environment/test.php
@@ -42,7 +42,7 @@ return array(
array('Access.createAccessSingleton', function ($access) {
$testingEnvironment = new TestingEnvironment();
- if (!$testingEnvironment->testUseRegularAuth) {
+ if ($testingEnvironment->testUseMockAuth) {
$access = new Piwik_MockAccess($access);
\Piwik\Access::setSingletonInstance($access);
}