diff options
author | diosmosis <benaka@piwik.pro> | 2015-04-06 07:49:37 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-04-06 07:49:37 +0300 |
commit | d01ac2028a7877171c7f5a868b2ff2d7ccff14ac (patch) | |
tree | 0a4e678ca7e342a7230a7a96f8e2b9a99d48ed37 /tests/resources | |
parent | 59da292a3505a740fd0189e7f1d0f9231edeeb12 (diff) |
Make IniSettingsProvider a singleton in order to make sure IniFileChain is shared (again, regressed in a previous commit), and fixed many tests. Changed CacheTest from integration to unit.
Diffstat (limited to 'tests/resources')
-rw-r--r-- | tests/resources/staticFileServer.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/resources/staticFileServer.php b/tests/resources/staticFileServer.php index bf26da55f4..696acebdcf 100644 --- a/tests/resources/staticFileServer.php +++ b/tests/resources/staticFileServer.php @@ -56,6 +56,9 @@ if ($staticFileServerMode === "") { SRV_MODE_REQUEST_VAR . " must be provided."); } +$environment = new \Piwik\Application\Environment(null); +$environment->init(); + switch ($staticFileServerMode) { // The static file server calls Piwik::serverStaticFile with a null file case NULL_FILE_SRV_MODE: |