From: Tomek Mrugalski Date: Sat, 28 Jan 2017 11:01:23 +0000 (+0100) Subject: [master] Unit-test fixes after #5122 and #5123 merged. X-Git-Tag: trac5126_base~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52158a480cbfda3225523cfd455c6585062d6c25;p=thirdparty%2Fkea.git [master] Unit-test fixes after #5122 and #5123 merged. --- diff --git a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc index 1359c7239e..e9078c4fa9 100644 --- a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc +++ b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc @@ -583,7 +583,7 @@ TEST_F(CtrlChannelDhcpv4SrvTest, set_config) { // Should fail with a syntax error EXPECT_EQ("{ \"result\": 1, " - "\"text\": \"subnet configuration failed: String parameter subnet not found(:20:17)\" }", + "\"text\": \"subnet configuration failed: mandatory 'subnet' parameter is missing for a subnet being configured (:20:17)\" }", response); // Check that the config was not lost diff --git a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc index 64bcfd6933..202380b083 100644 --- a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc +++ b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc @@ -446,7 +446,7 @@ TEST_F(CtrlChannelDhcpv6SrvTest, set_config) { // Should fail with a syntax error EXPECT_EQ("{ \"result\": 1, " - "\"text\": \"subnet configuration failed: String parameter subnet not found(:21:17)\" }", + "\"text\": \"subnet configuration failed: mandatory 'subnet' parameter is missing for a subnet being configured (:21:17)\" }", response); // Check that the config was not lost