Fix time sensitive test

This commit is contained in:
Arnau B
2020-12-09 14:07:43 +01:00
parent a50ddbe4e0
commit 039c7b29da
2 changed files with 2 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ func TestMain(m *testing.M) {
// Swagger
router := swagger.NewRouter().WithSwaggerFromFile("./swagger.yml")
// HistoryDB
pass := "yourpasswordhere" // os.Getenv("POSTGRES_PASS")
pass := os.Getenv("POSTGRES_PASS")
database, err := db.InitSQLDB(5432, "localhost", "hermez", pass, "hermez")
if err != nil {