mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 04:27: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
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue