Merge pull request #1213 from vmware-tanzu/fix-groups-scope-integration-tests

One line fix to the supervisor warnings test
This commit is contained in:
Mo Khan
2022-06-24 11:12:07 -04:00
committed by GitHub

View File

@@ -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,