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/Core/SegmentTest.php')
-rw-r--r--tests/PHPUnit/Core/SegmentTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/PHPUnit/Core/SegmentTest.php b/tests/PHPUnit/Core/SegmentTest.php
index c007cc9d20..2a00a0a9b9 100644
--- a/tests/PHPUnit/Core/SegmentTest.php
+++ b/tests/PHPUnit/Core/SegmentTest.php
@@ -17,14 +17,13 @@ class SegmentTest extends PHPUnit_Framework_TestCase
Zend_Registry::set('access', $pseudoMockAccess);
// Load and install plugins
- $pluginsManager = Piwik_PluginsManager::getInstance();
- $pluginsManager->loadPlugins(Piwik_Config::getInstance()->Plugins['Plugins']);
+ IntegrationTestCase::loadAllPlugins();
}
public function tearDown()
{
parent::tearDown();
- Piwik_PluginsManager::getInstance()->unloadPlugins();
+ IntegrationTestCase::unloadAllPlugins();
}
protected function _filterWhitsSpaces($valueToFilter)