From 98b0b6b21cff5140a846746feaeb7e02b05920af Mon Sep 17 00:00:00 2001 From: Margo Crawford Date: Fri, 24 Jun 2022 08:09:32 -0700 Subject: [PATCH] One line fix to the supervisor warnings test Make the scopes in the cache key include the new groups scope Signed-off-by: Margo Crawford --- test/integration/supervisor_warnings_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/supervisor_warnings_test.go b/test/integration/supervisor_warnings_test.go index 04f77b25..3fdfffb9 100644 --- a/test/integration/supervisor_warnings_test.go +++ b/test/integration/supervisor_warnings_test.go @@ -485,7 +485,7 @@ func TestSupervisorWarnings_Browser(t *testing.T) { })) // construct the cache key - downstreamScopes := []string{coreosoidc.ScopeOfflineAccess, coreosoidc.ScopeOpenID, "pinniped:request-audience"} + downstreamScopes := []string{coreosoidc.ScopeOfflineAccess, coreosoidc.ScopeOpenID, "pinniped:request-audience", "groups"} sort.Strings(downstreamScopes) sessionCacheKey := oidcclient.SessionCacheKey{ Issuer: downstream.Spec.Issuer,