From: Marcin Siodelski Date: Mon, 20 Jan 2014 09:45:09 +0000 (+0100) Subject: [3292] Removed redundant checks in DHCP srv unit tests. X-Git-Tag: bind10-1.2.0beta1-release~126^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82665961681e3d488183c6babdb15f04ef5f8d52;p=thirdparty%2Fkea.git [3292] Removed redundant checks in DHCP srv unit tests. --- diff --git a/src/bin/dhcp4/tests/config_parser_unittest.cc b/src/bin/dhcp4/tests/config_parser_unittest.cc index 6bf6bdf227..167214a11f 100644 --- a/src/bin/dhcp4/tests/config_parser_unittest.cc +++ b/src/bin/dhcp4/tests/config_parser_unittest.cc @@ -1883,8 +1883,6 @@ TEST_F(Dhcp4ParserTest, optionDataBoolean) { uint8_t expected_option_data[] = { 0x1 }; - testOption(desc, 19, expected_option_data, sizeof(expected_option_data)); - testConfiguration(params, 19, expected_option_data, sizeof(expected_option_data)); diff --git a/src/bin/dhcp6/tests/config_parser_unittest.cc b/src/bin/dhcp6/tests/config_parser_unittest.cc index fb8742abf3..0a47b4365a 100644 --- a/src/bin/dhcp6/tests/config_parser_unittest.cc +++ b/src/bin/dhcp6/tests/config_parser_unittest.cc @@ -2224,8 +2224,6 @@ TEST_F(Dhcp6ParserTest, optionDataBoolean) { uint8_t expected_option_data[] = { 0x1 }; - testOption(desc, 1000, expected_option_data, sizeof(expected_option_data)); - testConfiguration(params, 1000, expected_option_data, sizeof(expected_option_data));