From 1d18908055cf67067e4954eebbbb95e15709ea28 Mon Sep 17 00:00:00 2001 From: Margo Crawford Date: Wed, 18 Aug 2021 12:54:01 -0700 Subject: [PATCH] Fix test error-- execcredential now has interactive:false for activedirectoryidentityprovider test, which didn't exist on main when #770 was merged to update the other tests to use 1.22. --- cmd/pinniped/cmd/login_oidc_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/pinniped/cmd/login_oidc_test.go b/cmd/pinniped/cmd/login_oidc_test.go index f7be0dab4..f140710a6 100644 --- a/cmd/pinniped/cmd/login_oidc_test.go +++ b/cmd/pinniped/cmd/login_oidc_test.go @@ -182,7 +182,7 @@ func TestLoginOIDCCommand(t *testing.T) { "--credential-cache", "", // must specify --credential-cache or else the cache file on disk causes test pollution }, wantOptionsCount: 5, - wantStdout: `{"kind":"ExecCredential","apiVersion":"client.authentication.k8s.io/v1beta1","spec":{},"status":{"expirationTimestamp":"3020-10-12T13:14:15Z","token":"test-id-token"}}` + "\n", + wantStdout: `{"kind":"ExecCredential","apiVersion":"client.authentication.k8s.io/v1beta1","spec":{"interactive":false},"status":{"expirationTimestamp":"3020-10-12T13:14:15Z","token":"test-id-token"}}` + "\n", }, { name: "login error",