diff --git a/internal/test/helpers.go b/internal/test/helpers.go index 41fcb0e1a..cf9ccffb9 100644 --- a/internal/test/helpers.go +++ b/internal/test/helpers.go @@ -101,6 +101,8 @@ func dropFields(obj interface{}, fields ...string) { } func TestRoute(t *testing.T, api API, external bool, method, path, body string, expectedStatus int, expectedJSON string, ignoreFields ...string) { + t.Helper() + resp := SendHTTP(api, external, method, path, body) if resp == nil { t.Skip("This test is for internal testing only")