diff options
author | diosmosis <benaka@piwik.pro> | 2015-04-06 08:50:02 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-04-06 08:50:02 +0300 |
commit | 453663809adef4f64e4a44547c7e96fed280c06c (patch) | |
tree | 6ad8de9577721094a332f89b0294d1a41a0fa323 /tests/PHPUnit/System/BlobReportLimitingTest.php | |
parent | d01ac2028a7877171c7f5a868b2ff2d7ccff14ac (diff) |
Update updattoken.php to setup environment correctly and get BlobReportLimitingTest to pass.
Diffstat (limited to 'tests/PHPUnit/System/BlobReportLimitingTest.php')
-rwxr-xr-x | tests/PHPUnit/System/BlobReportLimitingTest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PHPUnit/System/BlobReportLimitingTest.php b/tests/PHPUnit/System/BlobReportLimitingTest.php index 244775a9be..ba2ea49b46 100755 --- a/tests/PHPUnit/System/BlobReportLimitingTest.php +++ b/tests/PHPUnit/System/BlobReportLimitingTest.php @@ -7,6 +7,7 @@ */ namespace Piwik\Tests\System; +use Piwik\Application\Kernel\GlobalSettingsProvider\IniSettingsProvider; use Piwik\Config; use Piwik\Plugins\Actions\ArchivingHelper; use Piwik\Tests\Framework\Mock\TestConfig; @@ -163,6 +164,7 @@ class BlobReportLimitingTest extends SystemTestCase protected static function setUpConfigOptions() { + IniSettingsProvider::unsetSingletonInstance(); Config::setSingletonInstance(new TestConfig()); $generalConfig =& Config::getInstance()->General; |