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
path: root/tests
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-08-26 13:21:11 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-08-26 13:21:11 +0400
commitd5f62dbdeb9f6502d40c742d021fa2400381f5ae (patch)
tree4bcd71b0674c3a449c7b69bc241eee0ded246022 /tests
parentf872d673152bf4b87eec70009202c130d71dffbb (diff)
refs #6065 remove tracker plugins from config and cache them instead in a file. Wondering which test will fail...
Diffstat (limited to 'tests')
-rwxr-xr-xtests/LocalTracker.php2
-rw-r--r--tests/PHPUnit/TestingEnvironment.php6
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/LocalTracker.php b/tests/LocalTracker.php
index 366996b465..46243ef340 100755
--- a/tests/LocalTracker.php
+++ b/tests/LocalTracker.php
@@ -51,7 +51,6 @@ class Piwik_LocalTracker extends PiwikTracker
// save some values
$plugins = Config::getInstance()->Plugins['Plugins'];
- $pluginsTracker = Config::getInstance()->Plugins_Tracker['Plugins_Tracker'];
$oldTrackerConfig = Config::getInstance()->Tracker;
\Piwik\Plugin\Manager::getInstance()->unloadPlugins();
@@ -85,7 +84,6 @@ class Piwik_LocalTracker extends PiwikTracker
ob_end_clean();
// restore vars
- Config::getInstance()->Plugins_Tracker['Plugins_Tracker'] = $pluginsTracker;
Config::getInstance()->Tracker = $oldTrackerConfig;
$_SERVER['HTTP_ACCEPT_LANGUAGE'] = $oldLang;
$_SERVER['HTTP_USER_AGENT'] = $oldUserAgent;
diff --git a/tests/PHPUnit/TestingEnvironment.php b/tests/PHPUnit/TestingEnvironment.php
index c61ca8825b..be22cd2b9e 100644
--- a/tests/PHPUnit/TestingEnvironment.php
+++ b/tests/PHPUnit/TestingEnvironment.php
@@ -166,12 +166,6 @@ class Piwik_TestingEnvironment
$local['Plugins'] = array('Plugins' => $pluginsToLoad);
- $trackerPluginsToLoad = array_filter($local['Plugins']['Plugins'], function ($plugin) use ($manager) {
- return $manager->isTrackerPlugin($manager->loadPlugin($plugin));
- });
-
- $local['Plugins_Tracker'] = array('Plugins_Tracker' => $trackerPluginsToLoad);
-
$local['log']['log_writers'] = array('file');
$manager->unloadPlugins();