From: Marcin Siodelski Date: Wed, 29 Mar 2017 11:31:23 +0000 (+0200) Subject: [5078] Corrected expected result in two unit tests. X-Git-Tag: trac5196_base~14^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f47e18210daea3857d5cb72baae8c94b6baa4fd;p=thirdparty%2Fkea.git [5078] Corrected expected result in two unit tests. --- diff --git a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc index 3fc7e3274a..a8e1b31431 100644 --- a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc +++ b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc @@ -413,7 +413,7 @@ TEST_F(CtrlChannelDhcpv4SrvTest, controlChannelNegative) { std::string response; sendUnixCommand("{ \"command\": \"bogus\" }", response); - EXPECT_EQ("{ \"result\": 1," + EXPECT_EQ("{ \"result\": 2," " \"text\": \"'bogus' command not supported.\" }", response); sendUnixCommand("utter nonsense", response); diff --git a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc index c20fb8028c..cd445c18f4 100644 --- a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc +++ b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc @@ -780,7 +780,7 @@ TEST_F(CtrlChannelDhcpv6SrvTest, controlChannelNegative) { std::string response; sendUnixCommand("{ \"command\": \"bogus\" }", response); - EXPECT_EQ("{ \"result\": 1," + EXPECT_EQ("{ \"result\": 2," " \"text\": \"'bogus' command not supported.\" }", response); sendUnixCommand("utter nonsense", response);