From 52158a480cbfda3225523cfd455c6585062d6c25 Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Sat, 28 Jan 2017 12:01:23 +0100 Subject: [PATCH] [master] Unit-test fixes after #5122 and #5123 merged. --- src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc | 2 +- src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.2