oidcProviderForTest automatically stops the provider once the test has stopped.
(t *testing.T, op *OIDCProvider)
| 35 | |
| 36 | // oidcProviderForTest automatically stops the provider once the test has stopped. |
| 37 | func oidcProviderForTest(t *testing.T, op *OIDCProvider) *OIDCProvider { |
| 38 | t.Cleanup(op.stopDiscoverySync) |
| 39 | return op |
| 40 | } |
| 41 | |
| 42 | func TestOIDCProviderMap_GetDefaultProvider(t *testing.T) { |
| 43 | base.SetUpTestLogging(t, base.LevelInfo, base.KeyAuth) |
no outgoing calls
no test coverage detected