]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Unit-test fixes after #5122 and #5123 merged.
authorTomek Mrugalski <tomasz@isc.org>
Sat, 28 Jan 2017 11:01:23 +0000 (12:01 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Sat, 28 Jan 2017 11:01:23 +0000 (12:01 +0100)
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc

index 1359c7239ef9a428fe3e643069a1e5ce114cb152..e9078c4fa9ccdd5926ec9a7795841db058cfccb5 100644 (file)
@@ -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(<string>:20:17)\" }",
+              "\"text\": \"subnet configuration failed: mandatory 'subnet' parameter is missing for a subnet being configured (<string>:20:17)\" }",
               response);
 
     // Check that the config was not lost
index 64bcfd6933249d52d8db5bd7a62900dc48d14950..202380b083a844ac0997d9447e3c84ba7576f693 100644 (file)
@@ -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(<string>:21:17)\" }",
+              "\"text\": \"subnet configuration failed: mandatory 'subnet' parameter is missing for a subnet being configured (<string>:21:17)\" }",
               response);
 
     // Check that the config was not lost