refactor: some clean-up
This commit is contained in:
@@ -20,9 +20,9 @@ import (
|
||||
func TestPersistence(t *testing.T) {
|
||||
tests.Init(t, true)
|
||||
|
||||
os.Remove("./test-123.db")
|
||||
conf.Server.DbPath = "./test-123.db"
|
||||
//conf.Server.DbPath = "file::memory:?cache=shared"
|
||||
//os.Remove("./test-123.db")
|
||||
//conf.Server.DbPath = "./test-123.db"
|
||||
conf.Server.DbPath = "file::memory:?cache=shared"
|
||||
New()
|
||||
db.EnsureDB()
|
||||
log.SetLevel(log.LevelCritical)
|
||||
|
||||
Reference in New Issue
Block a user