From dd8f72945df004a9583a20649a0985a6b490fe3c Mon Sep 17 00:00:00 2001 From: Slawek Figiel Date: Tue, 9 May 2023 18:39:43 +0200 Subject: [PATCH] [#2815] Fix unit test --- src/lib/dhcpsrv/tests/cfg_hosts_unittest.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/lib/dhcpsrv/tests/cfg_hosts_unittest.cc b/src/lib/dhcpsrv/tests/cfg_hosts_unittest.cc index 8bb0ff46f6..337a7200db 100644 --- a/src/lib/dhcpsrv/tests/cfg_hosts_unittest.cc +++ b/src/lib/dhcpsrv/tests/cfg_hosts_unittest.cc @@ -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)."); -- 2.47.2