Codebase list centreon-engine / ac2cfed
Change unittest to be compatible with the new init and deinit of the config. Alexandre Fouillé 9 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
125125 &_log,
126126 com::centreon::engine::logging::log_all,
127127 com::centreon::engine::logging::most);
128 config = new configuration::state;
128129 commands::set::load();
129130 configuration::applier::state::load();
130131 checks::checker::load();
153154 checks::checker::unload();
154155 configuration::applier::state::unload();
155156 commands::set::unload();
157 delete config;
158 config = NULL;
156159 com::centreon::clib::unload();
157160 }
158161 catch (std::exception const& e) {