2021-10-09 04:23:43 +02:00
|
|
|
package model_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
_ "github.com/mattn/go-sqlite3"
|
|
|
|
"github.com/navidrome/navidrome/log"
|
|
|
|
"github.com/navidrome/navidrome/tests"
|
2022-07-26 22:47:16 +02:00
|
|
|
. "github.com/onsi/ginkgo/v2"
|
2021-10-09 04:23:43 +02:00
|
|
|
. "github.com/onsi/gomega"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestModel(t *testing.T) {
|
|
|
|
tests.Init(t, true)
|
2022-12-21 20:53:36 +01:00
|
|
|
log.SetLevel(log.LevelFatal)
|
2021-10-09 04:23:43 +02:00
|
|
|
RegisterFailHandler(Fail)
|
|
|
|
RunSpecs(t, "Model Suite")
|
|
|
|
}
|