Browse Source

[3292] Removed redundant checks in DHCP srv unit tests.

Marcin Siodelski 11 years ago
parent
commit
8266596168

+ 0 - 2
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));
 

+ 0 - 2
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));