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:
authordiosmosis <benakamoorthi@fastmail.fm>2014-03-22 10:56:39 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-03-22 11:33:50 +0400
commit835a75375af48d9eca38eb834b0ace28488d4269 (patch)
tree385ff5f287b8e4d6bc95fa46d333fa94cb379146 /tests/PHPUnit
parent54a3399dd48aacf1823b28d5ca765e3886f91618 (diff)
Unload plugins in fixture setup instead of loading empty array.
Diffstat (limited to 'tests/PHPUnit')
-rw-r--r--tests/PHPUnit/Fixture.php2
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());
}