diff options
Diffstat (limited to 'internal/command/twofactorverify')
-rw-r--r-- | internal/command/twofactorverify/twofactorverify_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/command/twofactorverify/twofactorverify_test.go b/internal/command/twofactorverify/twofactorverify_test.go index 2e9e0ea..899813a 100644 --- a/internal/command/twofactorverify/twofactorverify_test.go +++ b/internal/command/twofactorverify/twofactorverify_test.go @@ -4,7 +4,7 @@ import ( "bytes" "context" "encoding/json" - "io/ioutil" + "io" "net/http" "testing" @@ -22,7 +22,7 @@ func setup(t *testing.T) []testserver.TestRequestHandler { { Path: "/api/v4/internal/two_factor_otp_check", 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) |