Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/System/AutoSuggestAPITest.php')
-rw-r--r--tests/PHPUnit/System/AutoSuggestAPITest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/PHPUnit/System/AutoSuggestAPITest.php b/tests/PHPUnit/System/AutoSuggestAPITest.php
index 2cb5e0282d..62a0175d01 100644
--- a/tests/PHPUnit/System/AutoSuggestAPITest.php
+++ b/tests/PHPUnit/System/AutoSuggestAPITest.php
@@ -19,6 +19,7 @@ use Piwik\Tests\Framework\TestCase\SystemTestCase;
use Piwik\Tests\Fixtures\ManyVisitsWithGeoIP;
use Piwik\Tests\Framework\Fixture;
use Piwik\Tracker\Cache;
+use Piwik\Cache as PiwikCache;
/**
* testing a the auto suggest API for all known segments
@@ -155,6 +156,7 @@ class AutoSuggestAPITest extends SystemTestCase
{
// Refresh cache for CustomVariables\Model
Cache::clearCacheGeneral();
+ PiwikCache::getTransientCache()->flushAll();
$segments = array();