MCPcopy Index your code
hub / github.com/coder/coder / newTestOAuth2Provider

Function newTestOAuth2Provider

coderd/httpmw/oauth2_test.go:39–44  ·  view source on GitHub ↗
(t testing.TB, opts ...oauth2.AuthCodeOption)

Source from the content-addressed store, hash-verified

37}
38
39func newTestOAuth2Provider(t testing.TB, opts ...oauth2.AuthCodeOption) *testOAuth2Provider {
40 return &testOAuth2Provider{
41 t: t,
42 authOpts: opts,
43 }
44}
45
46// nolint:bodyclose
47func TestOAuth2(t *testing.T) {

Callers 1

TestOAuth2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected