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:
authorStefan Giehl <stefan@matomo.org>2020-02-27 10:23:17 +0300
committerGitHub <noreply@github.com>2020-02-27 10:23:17 +0300
commitf28c7fa6cb6c63c8f459206448c7dcb93568099e (patch)
tree55168edfd9c5e2802bf6c0ace2fed4584cb79f52 /tests/PHPUnit/Framework
parentbcbdf42154ff40af6ce8276234ffbae19e0370d4 (diff)
Removes GeoIp Legacy support (#15521)
* Removes GeoIp Legacy support * move rendering provider configuration to the provider, to allow other providers to define an own one * move related translations to GeoIp2 plugin * Adds some UI tests * Apply review feedback
Diffstat (limited to 'tests/PHPUnit/Framework')
-rw-r--r--tests/PHPUnit/Framework/TestingEnvironmentManipulator.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php b/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
index e9a5a9cb81..1138b3ca71 100644
--- a/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
+++ b/tests/PHPUnit/Framework/TestingEnvironmentManipulator.php
@@ -253,6 +253,10 @@ class TestingEnvironmentManipulator implements EnvironmentManipulator
$plugins = $this->getPluginAndRequiredPlugins($pluginName, $plugins);
}
+ $pluginsToUnload = $this->vars->pluginsToUnload ?? [];
+
+ $plugins = array_diff($plugins, $pluginsToUnload);
+
return $plugins;
}