diff options
author | diosmosis <benaka@piwik.pro> | 2015-04-18 11:55:47 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-04-18 12:08:36 +0300 |
commit | 1760412a370823f96eeed21d730acf8f4038c843 (patch) | |
tree | 76b4c6ca0a2f9678b34d247e09e609b9ff7fc108 /tests/PHPUnit/System/BlobReportLimitingTest.php | |
parent | 5d57e10591a9e7e394f649cc67ea93ed14c47292 (diff) | |
parent | 898afb809d54553dea34e4d101e66b37f50f0334 (diff) |
Merge branch 'master' into config_step_2
Conflicts:
config/global.php
core/CliMulti/RequestCommand.php
core/Config.php
core/Config/IniFileChain.php
tests/PHPUnit/System/BlobReportLimitingTest.php
tests/PHPUnit/TestingEnvironment.php
tests/PHPUnit/Unit/Config/IniFileChainTest.php
tests/PHPUnit/Unit/ConfigTest.php
Diffstat (limited to 'tests/PHPUnit/System/BlobReportLimitingTest.php')
-rwxr-xr-x | tests/PHPUnit/System/BlobReportLimitingTest.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/PHPUnit/System/BlobReportLimitingTest.php b/tests/PHPUnit/System/BlobReportLimitingTest.php index ba2ea49b46..8122fd195c 100755 --- a/tests/PHPUnit/System/BlobReportLimitingTest.php +++ b/tests/PHPUnit/System/BlobReportLimitingTest.php @@ -8,6 +8,7 @@ namespace Piwik\Tests\System; use Piwik\Application\Kernel\GlobalSettingsProvider\IniSettingsProvider; +use Piwik\Cache; use Piwik\Config; use Piwik\Plugins\Actions\ArchivingHelper; use Piwik\Tests\Framework\Mock\TestConfig; @@ -23,6 +24,9 @@ use Piwik\Tests\Fixtures\ManyVisitsWithMockLocationProvider; */ class BlobReportLimitingTest extends SystemTestCase { + /** + * @var ManyVisitsWithMockLocationProvider + */ public static $fixture = null; // initialized below class definition public static function setUpBeforeClass() @@ -31,6 +35,12 @@ class BlobReportLimitingTest extends SystemTestCase parent::setUpBeforeClass(); } + public function setUp() + { + Cache::getTransientCache()->flushAll(); + parent::setUp(); + } + public function getApiForTesting() { // TODO: test Provider plugin? Not sure if it's possible. |