From: Andrei Pavel Date: Wed, 19 Apr 2023 17:35:30 +0000 (+0300) Subject: [#549] address review comments X-Git-Tag: Kea-2.3.7~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f661a3dc742d3a78327f761ef6b0de3330eebea5;p=thirdparty%2Fkea.git [#549] address review comments --- diff --git a/src/lib/dhcpsrv/testutils/generic_host_data_source_unittest.cc b/src/lib/dhcpsrv/testutils/generic_host_data_source_unittest.cc index 0c1fa3de32..0754b3217e 100644 --- a/src/lib/dhcpsrv/testutils/generic_host_data_source_unittest.cc +++ b/src/lib/dhcpsrv/testutils/generic_host_data_source_unittest.cc @@ -3905,7 +3905,7 @@ GenericHostDataSourceTest::testUpdate() { boost::to_upper(hwaddr); // Updating a host that doesn't exist should throw. - EXPECT_THROW_MSG(hdsptr_->update(host), NoRowsAffected, "Host not updated (not found)."); + EXPECT_THROW_MSG(hdsptr_->update(host), HostNotFound, "Host not updated (not found)."); // There should be no hosts. ConstHostCollection hosts(hdsptr_->getAll4(v4_subnet));