mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 04:57:37 +03:00
Clean up runNavidrome function
This commit is contained in:
parent
c4b05dac28
commit
885cd345ab
4 changed files with 41 additions and 20 deletions
|
@ -23,7 +23,7 @@ func TestPersistence(t *testing.T) {
|
|||
//os.Remove("./test-123.db")
|
||||
//conf.Server.DbPath = "./test-123.db"
|
||||
conf.Server.DbPath = "file::memory:?cache=shared"
|
||||
db.Init()
|
||||
defer db.Init()()
|
||||
log.SetLevel(log.LevelError)
|
||||
RegisterFailHandler(Fail)
|
||||
RunSpecs(t, "Persistence Suite")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue