mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[4291] Put the new unit test in the right universe
This commit is contained in:
@@ -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;
|
int rcode = 0;
|
||||||
ASSERT_NO_THROW(rcode = parseConfiguration(config));
|
ASSERT_NO_THROW(rcode = parseConfiguration(config));
|
||||||
EXPECT_EQ(0, rcode);
|
EXPECT_EQ(0, rcode);
|
||||||
|
Reference in New Issue
Block a user