Skip to content

Commit

Permalink
check all of form errors data in test
Browse files Browse the repository at this point in the history
  • Loading branch information
markj0hnst0n committed Feb 14, 2025
1 parent 822557b commit 335fc47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def test_POST_to_step_validation_error(
{},
)
assert response.status_code == 200
assert "This field is required." in response.context["form"]["note"].errors
assert response.context["form"]["note"].errors == ["This field is required."]

def test_GET_with_existing_data_success(
self,
Expand Down

0 comments on commit 335fc47

Please sign in to comment.