diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-07-03 03:54:27 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-10-06 18:25:13 +0300 |
commit | 9ba8f216fd7856ce5fef06bf82ecb8f8a2e7e630 (patch) | |
tree | 6ce07d18a85d00b39ab720abe042361c0775aead /tests/PHPUnit/System/AutoSuggestAPITest.php | |
parent | 8ccc9dc05da021325cdbf141a548637fa52f16b2 (diff) |
generate pages instead of implementing them in each controller
Diffstat (limited to 'tests/PHPUnit/System/AutoSuggestAPITest.php')
-rw-r--r-- | tests/PHPUnit/System/AutoSuggestAPITest.php | 2 |
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(); |