Skip to content

Added missing feature_category for CurrentUserMode tests

What does this MR do and why?

  • Applying the GitLab guideline to some tests I worked on during another MR, i.e. !142158 (merged)
  • This MR removes distracting console output when executing the tests, i.e. Missing metadata feature_category: ./spec/lib/gitlab/auth/current_user_mode_spec.rb See https://docs.gitlab.com/ee/development/testing_guide/best_practices.html#feature-category-metadata

🛠 with at Siemens

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

MR Checklist (@gerardo-navarro)

Screenshots or screen recordings

No frontend . Only test -related changes.

How to set up and validate locally

  1. Execute the changed tests
bundle exec rspec spec/lib/gitlab/auth/current_user_mode_spec.rb ee/spec/lib/ee/gitlab/auth/current_user_mode_spec.rb
  1. You should not see a console output related to missing feature category
Edited by Gerardo Navarro

Merge request reports

Loading