mirror of
https://github.com/nicksherron/bashhub-server.git
synced 2024-09-20 12:05:56 +08:00
Fix test build
This commit is contained in:
parent
4abbd5978e
commit
7e40b83069
|
@ -75,7 +75,7 @@ func TestMain(m *testing.M) {
|
|||
dbPath := filepath.Join(testDir, "test.db")
|
||||
logFile := filepath.Join(testDir, "server.log")
|
||||
log.Print("sqlite tests")
|
||||
router = setupRouter(dbPath, logFile)
|
||||
router = setupRouter(dbPath, logFile, true)
|
||||
|
||||
system = sysStruct{
|
||||
user: "tester",
|
||||
|
|
Loading…
Reference in a new issue