Skip to content

Commit

Permalink
[Tests/unit/core] : expect modules activated in default for 'test_mes…
Browse files Browse the repository at this point in the history
…sage_unit'
  • Loading branch information
msieben committed Aug 6, 2024
1 parent 6fc8f74 commit b4f620e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions Tests/unit/core/test_message_unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,8 @@ namespace Core {
}
}

if (modules.size() > 0) {
EXPECT_TRUE(enabled);
} else {
EXPECT_FALSE(enabled);
}
EXPECT_GT(modules.size(), 0);
EXPECT_TRUE(enabled);

// Effective only for exsting modules / controls for this category
// Disable all controls within a category via metadata
Expand Down Expand Up @@ -541,11 +538,8 @@ namespace Core {
}
}

if (modules.size() > 0) {
EXPECT_TRUE(enabled);
} else {
EXPECT_FALSE(enabled);
}
EXPECT_GT(modules.size(), 0);
EXPECT_TRUE(enabled);

// Effective only for exsting modules / controls for this category
// Disable all controls within a category via metadata
Expand Down

0 comments on commit b4f620e

Please sign in to comment.