We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63eb988 commit f9f61dbCopy full SHA for f9f61db
testing.rst
@@ -899,10 +899,16 @@ Response Assertions
899
Asserts the response format returned by the
900
:method:`Symfony\\Component\\HttpFoundation\\Response::getFormat` method
901
is the same as the expected value.
902
+``assertResponseIsUnprocessable(string $message = '')``
903
+ Asserts the response is unprocessable (HTTP status is 422)
904
905
.. versionadded:: 5.3
906
907
The ``assertResponseFormatSame()`` method was introduced in Symfony 5.3.
908
+
909
+.. versionadded:: 5.4
910
911
+ The ``assertResponseIsUnprocessable()`` method was introduced in Symfony 5.4.
912
913
Request Assertions
914
..................
0 commit comments