set runQueryCases helper

This commit is contained in:
sentriz
2023-11-06 21:50:46 +00:00
parent 288b457c19
commit 10ae1018c7

View File

@@ -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)