package jellyfin
import (
"net/http"
"testing"
"github.com/navidrome/navidrome/log"
"github.com/navidrome/navidrome/model/id"
"github.com/navidrome/navidrome/tests"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestJellyfinApi(t *testing.T) {
tests.Init(t, false)
log.SetLevel(log.LevelFatal)
RegisterFailHandler(Fail)
RunSpecs(t, "Jellyfin API Suite")
}
func testID(label string) string { return id.NewHash("jellyfin-test", label) }
func invoke(h http.HandlerFunc, w http.ResponseWriter, r *http.Request) {
normalizeQueryKeys(h).ServeHTTP(w, r)
}