diff options
Diffstat (limited to 'internal/gitlabnet/lfsauthenticate/client_test.go')
-rw-r--r-- | internal/gitlabnet/lfsauthenticate/client_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gitlabnet/lfsauthenticate/client_test.go b/internal/gitlabnet/lfsauthenticate/client_test.go index d554cac..c745306 100644 --- a/internal/gitlabnet/lfsauthenticate/client_test.go +++ b/internal/gitlabnet/lfsauthenticate/client_test.go @@ -3,7 +3,7 @@ package lfsauthenticate import ( "context" "encoding/json" - "io/ioutil" + "io" "net/http" "testing" @@ -24,7 +24,7 @@ func setup(t *testing.T) []testserver.TestRequestHandler { { Path: "/api/v4/internal/lfs_authenticate", Handler: func(w http.ResponseWriter, r *http.Request) { - b, err := ioutil.ReadAll(r.Body) + b, err := io.ReadAll(r.Body) defer r.Body.Close() require.NoError(t, err) |