Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b8e8333

Browse files
committed
linting
1 parent cfc78f2 commit b8e8333

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

coderd/coderdtest/oidctest/idp_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ func TestFakeIDPBasicFlow(t *testing.T) {
5454
token = oauthToken
5555
})
5656

57+
//nolint:bodyclose
5758
resp := fake.OIDCCallback(t, expectedState, jwt.MapClaims{})
5859
require.Equal(t, http.StatusOK, resp.StatusCode)
5960

coderd/externalauth/externalauth_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ func TestConstantQueryParams(t *testing.T) {
486486

487487
// Actually run an auth request. Although it says OIDC, the flow is the same
488488
// for oauth2.
489+
//nolint:bodyclose
489490
resp := fake.OIDCCallback(t, state, jwt.MapClaims{})
490491
require.True(t, callbackCalled)
491492
require.Equal(t, http.StatusOK, resp.StatusCode)

0 commit comments

Comments
 (0)