Fix incorrect spec filenames which were ingored by CI

For https://gitlab.com/gitlab-org/gitlab-ce/issues/31317

In order to make tests pass 2 features were fixed:

Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/2250

Merge request reports

Loading