diff options
Diffstat (limited to 'tests/core/API/DocumentationGenerator.test.php')
-rw-r--r-- | tests/core/API/DocumentationGenerator.test.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/core/API/DocumentationGenerator.test.php b/tests/core/API/DocumentationGenerator.test.php index 48105112f5..1846be3bc1 100644 --- a/tests/core/API/DocumentationGenerator.test.php +++ b/tests/core/API/DocumentationGenerator.test.php @@ -15,12 +15,13 @@ class Test_Piwik_API_DocumentationGenerator extends UnitTestCase { Piwik::createConfigObject(); Zend_Registry::get('config')->setTestEnvironment(); + Zend_Registry::get('config')->disableSavingConfigurationFileUpdates(); Piwik::createLogObject(); Piwik::createAccessObject(); Piwik::createDatabaseObject(); Piwik::setUserIsSuperUser(); $pluginsManager = Piwik_PluginsManager::getInstance(); - $pluginsManager->loadPlugins( Zend_Registry::get('config')->Plugins->Plugins->toArray() ); + $pluginsManager->setPluginsToLoad( Zend_Registry::get('config')->Plugins->Plugins->toArray() ); $apiGenerator = new Piwik_API_DocumentationGenerator_CallAllMethods(); $requestUrls = $apiGenerator->getAllRequestsWithParameters(); |