Update TestCLILoginOIDC to use new non-alpha login command.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-10-23 14:31:15 -05:00
parent 0948457521
commit 7615667b9b
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -395,7 +395,7 @@ func spawnTestGoroutine(t *testing.T, f func() error) {
func oidcLoginCommand(ctx context.Context, t *testing.T, pinnipedExe string, sessionCachePath string) *exec.Cmd { func oidcLoginCommand(ctx context.Context, t *testing.T, pinnipedExe string, sessionCachePath string) *exec.Cmd {
env := library.IntegrationEnv(t) env := library.IntegrationEnv(t)
return exec.CommandContext(ctx, pinnipedExe, "alpha", "login", "oidc", return exec.CommandContext(ctx, pinnipedExe, "login", "oidc",
"--issuer", env.OIDCUpstream.Issuer, "--issuer", env.OIDCUpstream.Issuer,
"--client-id", env.OIDCUpstream.ClientID, "--client-id", env.OIDCUpstream.ClientID,
"--listen-port", strconv.Itoa(env.OIDCUpstream.LocalhostPort), "--listen-port", strconv.Itoa(env.OIDCUpstream.LocalhostPort),