Refactor the `SearchResults` constructors to be aligned
This commit streamlines all the initializers to simplify the inheritance logic for: - `Gitlab::SearchResults` -> `…::ProjectSearchResults` -> `…::GroupSearchResults` -> `…::SnippetSearchResults` - `Gitlab::Elastic::SearchResults` -> `…::ProjectSearchResults` -> `…::GroupSearchResults` The tests were also deduplicated and streamlined.
Showing
This diff is collapsed.
Please register or sign in to comment