Reorganize tests

This commit is contained in:
Deluan
2020-09-05 21:29:44 -04:00
committed by Deluan Quintão
parent 34eda3c8fc
commit a1879ff871
5 changed files with 123 additions and 45 deletions
+17
View File
@@ -0,0 +1,17 @@
package metadata
import (
"testing"
"github.com/deluan/navidrome/log"
"github.com/deluan/navidrome/tests"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
func TestScanner(t *testing.T) {
tests.Init(t, true)
log.SetLevel(log.LevelCritical)
RegisterFailHandler(Fail)
RunSpecs(t, "Metadata Suite")
}