diff --git a/tests/helpers/test_helpers.go b/tests/helpers/test_helpers.go index c1b6553..32dfb01 100644 --- a/tests/helpers/test_helpers.go +++ b/tests/helpers/test_helpers.go @@ -143,6 +143,7 @@ func HTTPDelete(url string, body io.Reader) (response *http.Response, err error) // HTTPPatch sends a Patch Http Request with body to the passed url. func HTTPPatch(url, contentType string, body io.Reader) (response *http.Response, err error) { + //nolint:noctx // we don't need a http.NewRequestWithContext in our tests req, err := httpRequest(http.MethodPatch, url, body) if err != nil { return nil, err @@ -157,6 +158,7 @@ func HTTPPatch(url, contentType string, body io.Reader) (response *http.Response } func HTTPPut(url string, body io.Reader) (response *http.Response, err error) { + //nolint:noctx // we don't need a http.NewRequestWithContext in our tests req, err := httpRequest(http.MethodPut, url, body) if err != nil { return nil, err