set runQueryCases helper
This commit is contained in:
@@ -88,6 +88,7 @@ func runQueryCases(t *testing.T, h handlerSubsonic, cases []*queryCase) {
|
|||||||
for _, qc := range cases {
|
for _, qc := range cases {
|
||||||
qc := qc
|
qc := qc
|
||||||
t.Run(qc.expectPath, func(t *testing.T) {
|
t.Run(qc.expectPath, func(t *testing.T) {
|
||||||
|
t.Helper()
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
rr, req := makeHTTPMock(qc.params)
|
rr, req := makeHTTPMock(qc.params)
|
||||||
|
|||||||
Reference in New Issue
Block a user