Add middleware tests

This commit is contained in:
Deluan 2020-01-09 15:56:44 -05:00 committed by Deluan Quintão
parent 3379af4328
commit 6aa6c2d9a5
5 changed files with 160 additions and 121 deletions

15
api/api_suite_test.go Normal file
View file

@ -0,0 +1,15 @@
package api
import (
"testing"
"github.com/cloudsonic/sonic-server/log"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
func TestSubsonicApi(t *testing.T) {
log.SetLevel(log.LevelError)
RegisterFailHandler(Fail)
RunSpecs(t, "Subsonic API Suite")
}