Skip to content

Commit

Permalink
Update test_router.py
Browse files Browse the repository at this point in the history
Signed-off-by: Sajid Alam <[email protected]>
  • Loading branch information
SajidAlamQB committed Jul 22, 2024
1 parent 46eb7ef commit c38c51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/tests/test_api/test_rest/test_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ def test_update_preferences_failure(client, mocker):
response = client.post("api/preferences", json={"showDatasetPreviews": True})

assert response.status_code == 500
assert response.json() == {"detail": "Failed to update preferences"}
assert response.json() == {"message": "Failed to update preferences"}

0 comments on commit c38c51b

Please sign in to comment.