Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests for paginated user_role_assignment endpoint #1631

Open
7 tasks done
craigyu opened this issue Oct 10, 2024 · 0 comments
Open
7 tasks done

Unit tests for paginated user_role_assignment endpoint #1631

craigyu opened this issue Oct 10, 2024 · 0 comments
Assignees

Comments

@craigyu
Copy link
Collaborator

craigyu commented Oct 10, 2024

Description
Write unit tests for #1626

Acceptance Criteria
the unit tests should test the following

  • default pagination with no query params
  • pagination with specific page number and page size
  • sort by with default pagination and customized pagination params
  • search with default pagination and customized pagination params
  • Empty result should return []
  • Isolated unit tests
  • modify the endpoint to use updated_dated create_date as the default sorting field
@gormless87 gormless87 changed the title Unit tests for paginated user_role_assignment ednpoint Unit tests for paginated user_role_assignment endpoint Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants