Parcourir la source

[1207] use test_db in setup for command loadzone test

It isn't actually used by the test, but by not setting any db, the default db would've been created (and not cleaned up, making distcheck fail for leaving files around)
Jelte Jansen il y a 13 ans
Parent
commit
4c63a32144
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/bin/auth/tests/command_unittest.cc

+ 3 - 1
src/bin/auth/tests/command_unittest.cc

@@ -297,7 +297,9 @@ TEST_F(AuthCommandTest,
                               "      }"
                               "    ]"
                               "  }"
-                              "]}"));
+                              "],"
+                              " \"database_file\": \"" + test_db + "\""
+                              "}"));
     module_session.setLocalConfig(map);
     server_.setConfigSession(&module_session);