diff options
author | mattab <matthieu.aubry@gmail.com> | 2016-02-02 06:57:14 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2016-02-02 06:57:14 +0300 |
commit | 1d0ba8adac8eac1d97aab9891e8475447d5f7839 (patch) | |
tree | e430ed7d11885835985af4b5bce38da25e088335 /tests/PHPUnit/Framework | |
parent | fd199c13e185c2721860024ad4b39b856bdd53d4 (diff) |
Integration test change following up https://github.com/piwik/piwik/commit/fd199c13e185c2721860024ad4b39b856bdd53d4
Diffstat (limited to 'tests/PHPUnit/Framework')
-rw-r--r-- | tests/PHPUnit/Framework/Mock/Plugin/Manager.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/PHPUnit/Framework/Mock/Plugin/Manager.php b/tests/PHPUnit/Framework/Mock/Plugin/Manager.php index 3f79065ad6..3cfbd5320a 100644 --- a/tests/PHPUnit/Framework/Mock/Plugin/Manager.php +++ b/tests/PHPUnit/Framework/Mock/Plugin/Manager.php @@ -4,20 +4,20 @@ namespace Piwik\Tests\Framework\Mock\Plugin; class Manager extends \Piwik\Plugin\Manager { - private $installedPlugins = array(); + private $pluginsToActivate = array(); public function __construct() { } - public function setInstalledPlugins($pluginsList) + public function setActivatedPlugins($pluginsList) { - $this->installedPlugins = $pluginsList; + $this->pluginsToActivate = $pluginsList; } - public function isPluginInstalled($pluginName) + public function isPluginActivated($pluginName) { - return in_array($pluginName, $this->installedPlugins); + return in_array($pluginName, $this->pluginsToActivate); } } |