Skip to content

Commit dc5da1b

Browse files
committed
Fix unittests
1 parent e083b31 commit dc5da1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/icinga-dependencies.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ BOOST_AUTO_TEST_CASE(multi_parent)
152152
BOOST_AUTO_TEST_CASE(push_dependency_groups_to_registry)
153153
{
154154
Checkable::Ptr childHostC(CreateHost("C"));
155+
childHostC->SetActive(false, true);
155156
Checkable::Ptr childHostD(CreateHost("D"));
157+
childHostD->SetActive(false, true);
156158
std::set<Dependency::Ptr> dependencies; // Keep track of all dependencies to avoid unexpected deletions.
157159
for (auto& parent : {String("A"), String("B"), String("E")}) {
158160
Dependency::Ptr depC(CreateDependency(CreateHost(parent), childHostC, "depC" + parent));

0 commit comments

Comments
 (0)