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:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-10-24 08:04:18 +0400
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-10-24 08:04:18 +0400
commit3eb6c06a2fd63bc6b84d4a34ef6147eff99ef5f6 (patch)
treec4183edc7e53c6b7f5f3adb45a11b2f871966020 /tests/PHPUnit/bootstrap.php
parentfa5a3c15b9036be8ba5351d982c508cfc8d0bfcf (diff)
Fixed master build
Diffstat (limited to 'tests/PHPUnit/bootstrap.php')
-rw-r--r--tests/PHPUnit/bootstrap.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/PHPUnit/bootstrap.php b/tests/PHPUnit/bootstrap.php
index 262c3a7a69..c78838b968 100644
--- a/tests/PHPUnit/bootstrap.php
+++ b/tests/PHPUnit/bootstrap.php
@@ -63,6 +63,9 @@ foreach($fixturesToLoad as $fixturePath) {
// General requirement checks & help: a webserver must be running for tests to work if not running UnitTests!
if (empty($_SERVER['argv']) || !in_array('UnitTests', $_SERVER['argv'])) {
checkPiwikSetupForTests();
+} else {
+ // To prevent a weird bug
+ Piwik\Config::getInstance()->init();
}
function checkPiwikSetupForTests()