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

Function newDeploymentValues

cli/server_fix_oidc_links_internal_test.go:38–44  ·  view source on GitHub ↗
(t *testing.T, issuerURL string, autoRepair bool)

Source from the content-addressed store, hash-verified

36}
37
38func newDeploymentValues(t *testing.T, issuerURL string, autoRepair bool) *codersdk.DeploymentValues {
39 t.Helper()
40 vals := &codersdk.DeploymentValues{}
41 require.NoError(t, vals.OIDC.IssuerURL.Set(issuerURL))
42 vals.OIDC.AutoRepairLinks = serpent.Bool(autoRepair)
43 return vals
44}
45
46func TestOIDCAuthLinks(t *testing.T) {
47 t.Parallel()

Callers 1

TestOIDCAuthLinksFunction · 0.85

Calls 2

HelperMethod · 0.65
SetMethod · 0.65

Tested by

no test coverage detected