Skip to content

Commit

Permalink
fix: Change to str for g_recaptcha_response
Browse files Browse the repository at this point in the history
  • Loading branch information
kovalch committed Jul 2, 2024
1 parent 652ff12 commit c78e968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/subscribe/tests/test_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def test_verify_recaptcha_failure(self, mock_verify_recaptcha, send_request_emai
{},
email="[email protected]",
dataset_id=dataset["id"],
g_recaptcha_response=None,
g_recaptcha_response="wrong_recaptcha",
)
except ValidationError as e:
# Asserting that the error is raised with the correct message
Expand Down

0 comments on commit c78e968

Please sign in to comment.