We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 664895f commit 74f9245Copy full SHA for 74f9245
coderd/oauthpki/okidcpki_test.go
@@ -149,7 +149,7 @@ func TestAzureADPKIOIDC(t *testing.T) {
149
},
150
151
})
152
- token, err := pkiConfig.Exchange(ctx, base64.StdEncoding.EncodeToString([]byte("random-code")))
+ _, err = pkiConfig.Exchange(ctx, base64.StdEncoding.EncodeToString([]byte("random-code")))
153
// We hijack the request and return an error intentionally
154
require.Error(t, err, "error expected")
155
}
0 commit comments