mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Fix time sensitive test
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user