This avoids an ordering problem noticed in Boost 1.55
#include "config/configitem.hpp"
#include "base/application.hpp"
#include "base/loader.hpp"
+#include "icingaapplication-fixture.hpp"
#include <BoostTestTargetConfig.h>
using namespace icinga;
{
LivestatusFixture()
{
+ // ensure IcingaApplication is initialized before we try to add config
+ IcingaApplicationFixture icinga;
+
BOOST_TEST_MESSAGE("Preparing config objects...");
ConfigItem::RunWithActivationContext(new Function("CreateTestObjects", CreateTestObjects));