diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-03-22 10:56:39 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-03-22 11:33:50 +0400 |
commit | 835a75375af48d9eca38eb834b0ace28488d4269 (patch) | |
tree | 385ff5f287b8e4d6bc95fa46d333fa94cb379146 | |
parent | 54a3399dd48aacf1823b28d5ca765e3886f91618 (diff) |
Unload plugins in fixture setup instead of loading empty array.
-rw-r--r-- | tests/PHPUnit/Fixture.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Fixture.php b/tests/PHPUnit/Fixture.php index 7d125f7feb..2c3f788214 100644 --- a/tests/PHPUnit/Fixture.php +++ b/tests/PHPUnit/Fixture.php @@ -128,7 +128,7 @@ class Fixture extends PHPUnit_Framework_Assert DbHelper::createTables(); - \Piwik\Plugin\Manager::getInstance()->loadPlugins(array()); + \Piwik\Plugin\Manager::getInstance()->unloadPlugins(); } catch (Exception $e) { static::fail("TEST INITIALIZATION FAILED: " . $e->getMessage() . "\n" . $e->getTraceAsString()); } |