diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-04-07 22:09:26 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-04-07 22:09:30 +0400 |
commit | d2f6e4730ff89eeb442e09492b95f29c097f6bc3 (patch) | |
tree | 9b89c950fed4bd1e37d56467c6f6e433a1dbdcd1 | |
parent | b36758095858adf405c83fb7fb1e7eb08bcf383e (diff) |
Remove commented out line so all plugins will be loaded during tests.
-rw-r--r-- | core/Plugin/Manager.php | 2 | ||||
-rw-r--r-- | tests/PHPUnit/Fixture.php | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/core/Plugin/Manager.php b/core/Plugin/Manager.php index 94f5b95292..e6369ac91a 100644 --- a/core/Plugin/Manager.php +++ b/core/Plugin/Manager.php @@ -106,7 +106,7 @@ class Manager extends Singleton { $toLoad = array(); - $loadStandalonePluginsDuringTests = 0;// Config::getInstance()->Debug['enable_load_standalone_plugins_during_tests']; + $loadStandalonePluginsDuringTests = @Config::getInstance()->Debug['enable_load_standalone_plugins_during_tests']; foreach($this->readPluginsDirectory() as $plugin) { $forceDisable = array( diff --git a/tests/PHPUnit/Fixture.php b/tests/PHPUnit/Fixture.php index bca98fe545..73a1e22818 100644 --- a/tests/PHPUnit/Fixture.php +++ b/tests/PHPUnit/Fixture.php @@ -238,7 +238,6 @@ class Fixture extends PHPUnit_Framework_Assert public static function loadAllPlugins() { - DbHelper::createTables(); $pluginsManager = \Piwik\Plugin\Manager::getInstance(); $plugins = $pluginsManager->getPluginsToLoadDuringTests(); |