Resolve "Package graphql api: improve sorting tests"
What does this MR do and why?
Resolves #328793
- Refactored sorting and pagination tests
- refactored fields for package fixtures, so it will have a different order for every test case
- explicitly defined expected order
I also added commits below, I can remove them if they make it harder to use git blame in the future.
- rename variable
package
tonpm_package
as it's more explicit - fixed typo
versionaless_package
- fixed alignment issue with fields variable
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.
Related to #328793
Edited by Batuhan Wilhelm