mirror of
https://github.com/nicksherron/bashhub-server.git
synced 2024-09-20 03:55:56 +08:00
fix tests for merged #18
This commit is contained in:
parent
1a38bc37d6
commit
88c2c27807
|
@ -90,7 +90,7 @@ func TestMain(m *testing.M) {
|
||||||
log.Print("postgres tests")
|
log.Print("postgres tests")
|
||||||
dbPath := *postgres
|
dbPath := *postgres
|
||||||
logFile := filepath.Join(testDir, "postgres-server.log")
|
logFile := filepath.Join(testDir, "postgres-server.log")
|
||||||
router = setupRouter(dbPath, logFile)
|
router = setupRouter(dbPath, logFile, true)
|
||||||
m.Run()
|
m.Run()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue