Loading
Remove broken custom dashboard search data factory
What does this MR do and why?
Removes the :custom_dashboard_search_data factory. It builds Search::CustomDashboardSearchData, a class that doesn't exist, so the factory can't be used. Nothing uses it today.
It does break code that goes through every factory to find the class each one builds: the lookup raises NameError when it reaches this factory. We hit this while making the policy delegation spec matcher find a model's factory on its own.
References
None.
Screenshots or screen recordings
Not applicable, test-only change.
How to set up and validate locally
Not applicable. Nothing references the factory.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.