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