Clean up runNavidrome function

This commit is contained in:
Deluan 2024-05-09 07:42:40 -04:00
parent c4b05dac28
commit 885cd345ab
4 changed files with 41 additions and 20 deletions

View file

@ -14,7 +14,7 @@ import (
func TestScanner(t *testing.T) {
tests.Init(t, true)
conf.Server.DbPath = "file::memory:?cache=shared"
db.Init()
defer db.Init()()
log.SetLevel(log.LevelFatal)
RegisterFailHandler(Fail)
RunSpecs(t, "Scanner Suite")