mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-30 18:31:35 +03:00
21 lines
392 B
Go
21 lines
392 B
Go
package api_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
. "github.com/smartystreets/goconvey/convey"
|
|
"github.com/deluan/gosonic/tests"
|
|
)
|
|
|
|
func TestGetIndexes(t *testing.T) {
|
|
tests.Init(t, false)
|
|
|
|
_, w := Get(AddParams("/rest/getIndexes.view"), "TestGetIndexes")
|
|
|
|
Convey("Subject: GetIndexes Endpoint", t, func() {
|
|
Convey("Status code should be 200", func() {
|
|
So(w.Code, ShouldEqual, 200)
|
|
})
|
|
})
|
|
}
|