Adjust tests to api admin mode (9)
What does this MR do and why?
Adjusts test to api admin mode
I left some comments in code where I need help. Look for # why does this work without admin_mode?
How to set up and validate locally
bin/rspec ee/spec/requests/api/group_push_rule_spec.rb
bin/rspec ee/spec/requests/api/group_repository_storage_moves_spec.rb
bin/rspec ee/spec/requests/api/groups_spec.rb
bin/rspec ee/spec/requests/api/internal/upcoming_reconciliations_spec.rb
bin/rspec ee/spec/requests/api/invitations_spec.rb
bin/rspec ee/spec/requests/api/license_spec.rb
bin/rspec ee/spec/requests/api/notes_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.
-
I have evaluated the MR acceptance checklist for this MR.