diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-10-24 08:04:18 +0400 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-10-24 08:04:18 +0400 |
commit | 3eb6c06a2fd63bc6b84d4a34ef6147eff99ef5f6 (patch) | |
tree | c4183edc7e53c6b7f5f3adb45a11b2f871966020 /tests/PHPUnit/bootstrap.php | |
parent | fa5a3c15b9036be8ba5351d982c508cfc8d0bfcf (diff) |
Fixed master build
Diffstat (limited to 'tests/PHPUnit/bootstrap.php')
-rw-r--r-- | tests/PHPUnit/bootstrap.php | 3 |
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() |