Open
Description
Describe the bug
Warning when running tests due to no list ordering.
To Reproduce
Steps to reproduce the behavior:
- Hitting this endpoint in tests: /mfa/user-active-methods/
- Yields this error: django.core.paginator.UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'authorization.models.MFAMethod'> QuerySet.
Expected behavior
The endpoint should have an ordering - or the model should have default ordering.
Metadata
Metadata
Assignees
Labels
No labels