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

[#2815] Fix unit test

This commit is contained in:
Slawek Figiel 2023-05-09 18:39:43 +02:00
parent 6337ee9076
commit dd8f72945d

View File

@ -1459,13 +1459,6 @@ TEST_F(CfgHostsTest, update) {
SubnetID(1), IOAddress("0.0.0.0"),
"foo.example.com"));
// Updating any host currently throws because it relies on delete being
// implemented which is not.
EXPECT_THROW_MSG(cfg.update(host), NotImplemented, "sorry, not implemented");
// Temporary return. Remove it and the preceding EXPECT_THROW_MSG when delete gets implemented.
return;
// Updating a host that doesn't exist should throw.
EXPECT_THROW_MSG(cfg.update(host), HostNotFound, "Host not updated (not found).");