fix-test: GC user in TestOldLocalResourceAccessReviewEndpoint
@@ -1597,7 +1597,7 @@ func TestOldLocalResourceAccessReviewEndpoint(t *testing.T) {
expectedResponse := &authorizationapi.ResourceAccessReviewResponse{
Namespace: namespace,
- Users: sets.NewString("harold", "system:serviceaccount:hammer-project:builder", "system:serviceaccount:openshift-infra:namespace-controller", "system:admin"),
+ Users: sets.NewString("harold", "system:serviceaccount:openshift-infra:garbage-collector-controller", "system:serviceaccount:hammer-project:builder", "system:serviceaccount:openshift-infra:namespace-controller", "system:admin"),
Groups: sets.NewString("system:cluster-admins", "system:masters", "system:cluster-readers", "system:serviceaccounts:hammer-project"),
}
if (actualResponse.Namespace != expectedResponse.Namespace) ||
@@ -1624,7 +1624,7 @@ func TestOldLocalResourceAccessReviewEndpoint(t *testing.T) {
expectedResponse := &authorizationapi.ResourceAccessReviewResponse{
Namespace: namespace,
- Users: sets.NewString("harold", "system:serviceaccount:hammer-project:builder", "system:serviceaccount:openshift-infra:namespace-controller", "system:admin"),
+ Users: sets.NewString("harold", "system:serviceaccount:openshift-infra:garbage-collector-controller", "system:serviceaccount:hammer-project:builder", "system:serviceaccount:openshift-infra:namespace-controller", "system:admin"),
Groups: sets.NewString("system:cluster-admins", "system:masters", "system:cluster-readers", "system:serviceaccounts:hammer-project"),
}
if (actualResponse.Namespace != expectedResponse.Namespace) ||
