Skip to content

Refactor package factories

Steve Abrams requested to merge cleanup_package_factories into master

🔦 What does this MR do and why?

The package factories have been getting a bit disorganized with a few files in particular containing factories for multiple models. This MR refactors those factories separating individual factories to their own files, and into better structured directories. It also renames a few of them to use the plural model name (for example package_file.rb => package_files.rb, which is the common convention for factory files.

No code is changed, added, or removed. Everything is simply moved around a bit for easier navigation.

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

MR acceptance checklist

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

Related: #239436 (closed)

Edited by Steve Abrams

Merge request reports