Adjust tests to api admin mode (5)
What does this MR do and why?
Adjusts test to api admin mode
I left some comments in the code where I need help.
How to set up and validate locally
Run following test
bin/rspec spec/requests/api/project_export_spec.rb
bin/rspec spec/requests/api/project_snapshots_spec.rb
bin/rspec spec/requests/api/project_snippets_spec.rb
bin/rspec spec/requests/api/projects_spec.rb
bin/rspec /spec/requests/api/project_repository_storage_moves_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.
Edited by Andreas Deicha