Adjust tests to api admin mode (10)

What does this MR do and why?

Adjusts test to api admin mode

issue

implementation plan

tests to adjust

how to improve

I left some comments in code where I need help.

🛠 with at Siemens

How to set up and validate locally

  • bin/rspec ee/spec/requests/api/merge_request_approvals_spec.rb
  • bin/rspec ee/spec/requests/api/namespaces_spec.rb
  • bin/rspec ee/spec/requests/api/settings_spec.rb
  • bin/rspec ee/spec/requests/api/users_spec.rb

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading