2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 05:27:55 +00:00

[4291] Put the new unit test in the right universe

This commit is contained in:
Francis Dupont 2016-02-01 15:15:42 +01:00
parent 56c63d71b2
commit 9e6de79c46

View File

@ -941,6 +941,9 @@ TEST_F(ParseConfigTest, optionDataNoSubOpion) {
" } ]"
"}";
// The default universe is V6. We need to change it to use dhcp4 option
// space.
parser_context_->universe_ = Option::V4;
int rcode = 0;
ASSERT_NO_THROW(rcode = parseConfiguration(config));
EXPECT_EQ(0, rcode);