(t *testing.T, do *http.Response)
| 60 | } |
| 61 | |
| 62 | func readResponseBody(t *testing.T, do *http.Response) []byte { |
| 63 | defer func() { _ = do.Body.Close() }() |
| 64 | body, err := io.ReadAll(do.Body) |
| 65 | require.NoError(t, err) |
| 66 | return body |
| 67 | } |
no test coverage detected
searching dependent graphs…