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/DatabaseTestCase.php')
-rw-r--r--tests/PHPUnit/DatabaseTestCase.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PHPUnit/DatabaseTestCase.php b/tests/PHPUnit/DatabaseTestCase.php
index b2144d5c15..47a34f8bbe 100644
--- a/tests/PHPUnit/DatabaseTestCase.php
+++ b/tests/PHPUnit/DatabaseTestCase.php
@@ -11,6 +11,7 @@ use Piwik\DataTable\Manager;
use Piwik\Piwik;
use Piwik\Option;
use Piwik\Site;
+use Piwik\Tracker\Cache;
/**
* Tests extending DatabaseTestCase are much slower to run: the setUp will
@@ -72,7 +73,7 @@ class DatabaseTestCase extends PHPUnit_Framework_TestCase
Option::getInstance()->clearCache();
Piwik_PDFReports_API::$cache = array();
Site::clearCache();
- Piwik_Tracker_Cache::deleteTrackerCache();
+ Cache::deleteTrackerCache();
Config::getInstance()->clear();
ArchiveTableCreator::clear();
\Zend_Registry::_unsetInstance();