Rename log.LevelCritical to log.LevelFatal

This commit is contained in:
Deluan 2022-12-21 14:53:36 -05:00
parent 28389fb05e
commit 5943e8f953
26 changed files with 40 additions and 46 deletions

View file

@ -11,7 +11,7 @@ import (
func TestFFMpeg(t *testing.T) {
tests.Init(t, true)
log.SetLevel(log.LevelCritical)
log.SetLevel(log.LevelFatal)
RegisterFailHandler(Fail)
RunSpecs(t, "FFMpeg Suite")
}

View file

@ -11,7 +11,7 @@ import (
func TestMetadata(t *testing.T) {
tests.Init(t, true)
log.SetLevel(log.LevelCritical)
log.SetLevel(log.LevelFatal)
RegisterFailHandler(Fail)
RunSpecs(t, "Metadata Suite")
}

View file

@ -11,7 +11,7 @@ import (
func TestTagLib(t *testing.T) {
tests.Init(t, true)
log.SetLevel(log.LevelCritical)
log.SetLevel(log.LevelFatal)
RegisterFailHandler(Fail)
RunSpecs(t, "TagLib Suite")
}

View file

@ -17,7 +17,7 @@ func TestScanner(t *testing.T) {
conf.Server.DbPath = "file::memory:?cache=shared"
_ = orm.RegisterDataBase("default", db.Driver, conf.Server.DbPath)
db.EnsureLatestVersion()
log.SetLevel(log.LevelCritical)
log.SetLevel(log.LevelFatal)
RegisterFailHandler(Fail)
RunSpecs(t, "Scanner Suite")
}