Fix unit tests for livestatus

refs #10643
This commit is contained in:
Gunnar Beutner 2015-11-19 20:25:10 +01:00 committed by Michael Friedrich
parent 33fbd6c877
commit efe014aa7e
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");