diff --git a/tests/PHPUnit/TestingEnvironment.php b/tests/PHPUnit/TestingEnvironment.php index 363c8a89b96b28f94fc5a05a43937a7e0c0cf613..5487de9625150ec02651d20da44dafa32b0438fd 100644 --- a/tests/PHPUnit/TestingEnvironment.php +++ b/tests/PHPUnit/TestingEnvironment.php @@ -69,6 +69,8 @@ class Piwik_TestingEnvironment public function save() { + @mkdir(PIWIK_INCLUDE_PATH . '/tmp'); + $overridePath = PIWIK_INCLUDE_PATH . '/tmp/testingPathOverride.json'; file_put_contents($overridePath, json_encode($this->behaviorOverrideProperties)); }