Skip to content

Commit

Permalink
Updating return value for mocked data-service
Browse files Browse the repository at this point in the history
  • Loading branch information
epwr committed Feb 13, 2024
1 parent 8ff985a commit 9d31654
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def test_get_request_returns_404(
mock_data_service_class,
endpoint: str,
):
mock_data_service_class.return_value.get_survey_if_open.return_value = None
response = app_client.get(endpoint)
assert response.status_code == 404

Expand Down

0 comments on commit 9d31654

Please sign in to comment.