refactor: some clean-up

This commit is contained in:
Deluan
2020-01-31 16:03:30 -05:00
committed by Deluan Quintão
parent a260e65307
commit d9f61a278c
5 changed files with 174 additions and 183 deletions
+3 -3
View File
@@ -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)