diff --git a/pkg/httpmock/stub.go b/pkg/httpmock/stub.go index f15423c84..a5444b2c8 100644 --- a/pkg/httpmock/stub.go +++ b/pkg/httpmock/stub.go @@ -249,6 +249,7 @@ func GraphQLQuery(body string, cb func(string, map[string]interface{})) Responde // ScopesResponder returns a response with a 200 status code and the given OAuth scopes. func ScopesResponder(scopes string) func(*http.Request) (*http.Response, error) { + //nolint:bodyclose return StatusScopesResponder(http.StatusOK, scopes) }