diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-02-27 10:23:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 10:23:17 +0300 |
commit | f28c7fa6cb6c63c8f459206448c7dcb93568099e (patch) | |
tree | 55168edfd9c5e2802bf6c0ace2fed4584cb79f52 /tests | |
parent | bcbdf42154ff40af6ce8276234ffbae19e0370d4 (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')
-rw-r--r-- | tests/PHPUnit/Framework/TestingEnvironmentManipulator.php | 4 |
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; } |