19 lines
353 B
Go
19 lines
353 B
Go
![]() |
package model_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
_ "github.com/mattn/go-sqlite3"
|
||
|
"github.com/navidrome/navidrome/log"
|
||
|
"github.com/navidrome/navidrome/tests"
|
||
|
. "github.com/onsi/ginkgo"
|
||
|
. "github.com/onsi/gomega"
|
||
|
)
|
||
|
|
||
|
func TestModel(t *testing.T) {
|
||
|
tests.Init(t, true)
|
||
|
log.SetLevel(log.LevelCritical)
|
||
|
RegisterFailHandler(Fail)
|
||
|
RunSpecs(t, "Model Suite")
|
||
|
}
|