Skip to content

Commit

Permalink
Updated test_api_users.py test_get_users test method to reflect API p…
Browse files Browse the repository at this point in the history
…arameter changes.
  • Loading branch information
felder101 committed Nov 1, 2023
1 parent 4a54b4e commit f75f3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training/tests/test_api_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_get_users(goodJWT, mock_user_repo: UserRepository):
user_search_result = UserSearchResult(users=users, total_count=2)
mock_user_repo.get_users.return_value = user_search_result
response = client.get(
"/api/v1/users?name=test&page_number=1",
"/api/v1/users?searchText=test&page_number=1",
headers={"Authorization": f"Bearer {goodJWT}"}
)
assert response.status_code == status.HTTP_200_OK
Expand Down

0 comments on commit f75f3d4

Please sign in to comment.