Add test for ServeIndex

This commit is contained in:
Deluan
2020-04-06 15:37:15 -04:00
parent 9b272c8021
commit c3edc7f449
2 changed files with 115 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package app
import (
"testing"
"github.com/deluan/navidrome/log"
"github.com/deluan/navidrome/tests"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
func TestApp(t *testing.T) {
tests.Init(t, false)
log.SetLevel(log.LevelCritical)
RegisterFailHandler(Fail)
RunSpecs(t, "RESTful API Suite")
}