MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / oidcProviderForTest

Function oidcProviderForTest

auth/oidc_test.go:37–40  ·  view source on GitHub ↗

oidcProviderForTest automatically stops the provider once the test has stopped.

(t *testing.T, op *OIDCProvider)

Source from the content-addressed store, hash-verified

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

Callers 5

TestInitOIDCClientFunction · 0.85
TestConcurrentSetConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected