]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3696] Removed unused parameter.
authorMarcin Siodelski <marcin@isc.org>
Tue, 12 Jan 2016 16:17:09 +0000 (17:17 +0100)
committerMarcin Siodelski <marcin@isc.org>
Tue, 12 Jan 2016 16:17:09 +0000 (17:17 +0100)
src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc

index e3f6a774f0c84a22bb1172ffb75b17f6b3057de5..21931a9ab41e2d1bd8d3874151730f1c7540c68f 100644 (file)
@@ -123,11 +123,9 @@ public:
     /// @param dbaccess set of database access parameters to check
     /// @param keyval Array of "const char*" strings in the order keyword,
     ///        value, keyword, value ...  A NULL entry terminates the list.
-    /// @param u Universe (V4 or V6).
     void checkAccessString(const char* trace_string,
                            const DbAccessParser::StringPairMap& parameters,
-                           const char* keyval[],
-                           Option::Universe u = Option::V4) {
+                           const char* keyval[]) {
         SCOPED_TRACE(trace_string);
 
         // Construct a map of keyword value pairs.
@@ -292,7 +290,7 @@ TEST_F(DbAccessParserTest, persistV6Memfile) {
     EXPECT_NO_THROW(parser.build(json_elements));
 
     checkAccessString("Valid memfile", parser.getDbAccessParameters(),
-                      config, Option::V6);
+                      config);
 }
 
 // This test checks that the parser accepts the valid value of the
@@ -310,7 +308,7 @@ TEST_F(DbAccessParserTest, validLFCInterval) {
     TestDbAccessParser parser("lease-database", DbAccessParser::LEASE_DB);
     EXPECT_NO_THROW(parser.build(json_elements));
     checkAccessString("Valid LFC Interval", parser.getDbAccessParameters(),
-                      config, Option::V6);
+                      config);
 }
 
 // This test checks that the parser rejects the negative value of the