CE backport of "Fix a broken spec for EE"
What does this MR do?
CE backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/12775
Related to https://gitlab.com/gitlab-org/gitlab-ee/issues/11621
CE backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/12775
Related to https://gitlab.com/gitlab-org/gitlab-ee/issues/11621