Fix unit tests for livestatus

refs #10643
This commit is contained in:
Gunnar Beutner 2015-11-19 20:25:10 +01:00
parent 3505ca3c16
commit c9f175790f
1 changed files with 2 additions and 1 deletions

View File

@ -78,13 +78,14 @@ struct GlobalConfigFixture {
Application::DeclareSysconfDir("etc");
Application::DeclareLocalStateDir("var");
ActivationScope ascope;
Loader::LoadExtensionLibrary("icinga");
Loader::LoadExtensionLibrary("methods"); //loaded by ITL
std::vector<std::string> configs;
configs.push_back(TestConfig);
ActivationScope ascope;
std::vector<ConfigItem::Ptr> newItems;
DaemonUtility::LoadConfigFiles(configs, newItems, "icinga2.debug", "icinga2.vars");