Skip to content

Replace many :project with :empty_projects in API specs

Rémy Coutable requested to merge use-empty_project-factory-in-api-specs into master

In order to reduce our test suite duration (#24899 (closed)), we should replace the :project factory calls with the :empty_project factory where possible.

This MR starts with API since most of the API endpoints don't actually need a repo.

This actually kind of reproduce !7282 (closed).

Merge request reports