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:
authordiosmosis <benaka@piwik.pro>2015-06-16 00:00:09 +0300
committerdiosmosis <benaka@piwik.pro>2015-06-16 00:00:09 +0300
commit4aec071a74dde0ba017377c48b69195431d24e22 (patch)
tree611d0e9af1bda591204a9e41dd4823a64d59871e /tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
parentc6c18065d900180b3e162c8e13777d885a54c0ea (diff)
Fixes #8110, make sure plugins are sorted correctly during tests. Moved plugin sorting logic from Plugin\Manager to PluginList.
Diffstat (limited to 'tests/PHPUnit/Framework/TestingEnvironmentManipulator.php')
-rw-r--r--tests/PHPUnit/Framework/TestingEnvironmentManipulator.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php b/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
index 42d3cf720c..65fbfc2d32 100644
--- a/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
+++ b/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
@@ -22,7 +22,8 @@ class FakePluginList extends PluginList
public function __construct(GlobalSettingsProvider $globalSettingsProvider, $plugins)
{
parent::__construct($globalSettingsProvider);
- $this->plugins = $plugins;
+
+ $this->plugins = $this->sortPlugins($plugins);
}
public function getActivatedPlugins()