Fix test build

This commit is contained in:
Petr Hejl 2021-01-04 15:36:35 +01:00
parent 4abbd5978e
commit 7e40b83069

View file

@ -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",