test(pkg/httpmock): ignore bodyclose on mock response value

Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
Babak K. Shandiz 2025-11-03 15:31:05 +00:00
parent 2709c39179
commit 0eb5640edb
No known key found for this signature in database
GPG key ID: 9472CAEFF56C742E

View file

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