Skip to content

Adjust tests to api admin mode (6)

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. Look for # why does this work without admin_mode?

🛠 with at Siemens

How to set up and validate locally

  • bin/rspec spec/requests/api/personal_access_tokens/self_information_spec.rb
  • bin/rspec spec/requests/api/personal_access_tokens_spec.rb
  • bin/rspec spec/requests/api/releases_spec.rb
  • bin/rspec spec/requests/api/sidekiq_metrics_spec.rb
  • bin/rspec spec/requests/api/snippet_repository_storage_moves_spec.rb
  • bin/rspec spec/requests/api/notes_spec.rb
  • bin/rspec spec/requests/api/merge_requests_spec.rb
  • bin/rspec spec/requests/api/groups_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.

Edited by Andreas Deicha

Merge request reports

Loading