diff options
author | Andrei Pavel <andrei@isc.org> | 2024-07-17 09:28:51 +0200 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2024-07-18 17:18:26 +0200 |
commit | e3f91d94f5cfd8430844c38352b8915119b9bea4 (patch) | |
tree | d24e007e2610ce55b459fb727f94ff960eea78e9 /src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc | |
parent | [#3476] Added ChangeLog entry (diff) | |
download | kea-e3f91d94f5cfd8430844c38352b8915119b9bea4.tar.xz kea-e3f91d94f5cfd8430844c38352b8915119b9bea4.zip |
[#3476] minor changes
Diffstat (limited to 'src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc')
-rw-r--r-- | src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc b/src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc index 51569d798c..c95b70f900 100644 --- a/src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc +++ b/src/lib/dhcpsrv/testutils/generic_cb_dhcp4_unittest.cc @@ -3068,9 +3068,9 @@ void GenericConfigBackendDHCPv4Test::invalidOptionDefDataType4Test() { OptionDefinitionPtr test_def; ASSERT_NO_THROW_LOG(test_def.reset(new OptionDefinition("foobar", 234, DHCP4_OPTION_SPACE, - "unknown", true))); + "unknown", true))); ASSERT_TRUE(test_def); - ASSERT_THROW(cbptr_->createUpdateOptionDef4(ServerSelector::ALL(), test_def), + ASSERT_THROW(cbptr_->createUpdateOptionDef4(ServerSelector::ALL(), test_def), DbOperationError); } @@ -3160,7 +3160,7 @@ GenericConfigBackendDHCPv4Test::allOptionDefDataTypes4Test() { ASSERT_NO_THROW_LOG(parser.parse(storage, defs_elem)); auto test_defs = storage->getAll("dhcp4"); - ASSERT_EQ(test_defs->size(), 18); + ASSERT_EQ(test_defs->size(), 18); // Insert each option definition into the database. for (auto const& test_def : *test_defs) { |