From: Marcin Siodelski Date: Wed, 29 Nov 2023 11:29:22 +0000 (+0100) Subject: [#3106] Fixed dhcp enable unit tests X-Git-Tag: Kea-2.5.5~117 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=cf99fa535a9207750c6baa88254db1e2f0f8f0cc;p=thirdparty%2Fkea.git [#3106] Fixed dhcp enable 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 e8d5e6fdf1..14ffe8d4ff 100644 --- a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc +++ b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc @@ -1812,7 +1812,7 @@ TEST_F(CtrlChannelDhcpv4SrvTest, dhcpDisable) { sendUnixCommand("{" " \"command\": \"dhcp-disable\"," " \"arguments\": {" - " \"origin\": 1102" + " \"origin\": 2002" " }" "}", response); @@ -1961,7 +1961,7 @@ TEST_F(CtrlChannelDhcpv4SrvTest, dhcpEnable) { sendUnixCommand("{" " \"command\": \"dhcp-enable\"," " \"arguments\": {" - " \"origin\": 1101" + " \"origin\": 2001" " }" "}", response); diff --git a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc index d3e9339766..421cf13ccf 100644 --- a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc +++ b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc @@ -1843,7 +1843,7 @@ TEST_F(CtrlChannelDhcpv6SrvTest, dhcpDisable) { sendUnixCommand("{" " \"command\": \"dhcp-disable\"," " \"arguments\": {" - " \"origin\": 1101" + " \"origin\": 2001" " }" "}", response); @@ -1992,7 +1992,7 @@ TEST_F(CtrlChannelDhcpv6SrvTest, dhcpEnable) { sendUnixCommand("{" " \"command\": \"dhcp-enable\"," " \"arguments\": {" - " \"origin\": 1102" + " \"origin\": 2002" " }" "}", response);