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
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-05-26 22:34:48 +0300
committerdiosmosis <benaka@piwik.pro>2015-06-02 01:05:28 +0300
commitba2f86b2c7c20fa1f8994b5496cbed217ac0cc3f (patch)
tree60b7fa39d0751fb1659ad921f31814bfeae3ec16 /tests/PHPUnit/Framework/Fixture.php
parentbd7b1634f08a2452d8cd526a99b0d0248834658a (diff)
Use test.php DI config options if PIWIK_TEST_MODE is defined.
Diffstat (limited to 'tests/PHPUnit/Framework/Fixture.php')
-rw-r--r--tests/PHPUnit/Framework/Fixture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Framework/Fixture.php b/tests/PHPUnit/Framework/Fixture.php
index 930d5b222d..3136c14198 100644
--- a/tests/PHPUnit/Framework/Fixture.php
+++ b/tests/PHPUnit/Framework/Fixture.php
@@ -913,7 +913,7 @@ class Fixture extends \PHPUnit_Framework_Assert
public function createEnvironmentInstance()
{
- $this->piwikEnvironment = new Environment('test', array_merge($this->provideContainerConfig(), $this->extraDefinitions));
+ $this->piwikEnvironment = new Environment($environment = null, array_merge($this->provideContainerConfig(), $this->extraDefinitions));
$this->piwikEnvironment->init();
}
}