@@ -922,11 +922,11 @@ However, Symfony provides useful shortcut methods for the most common cases:
922
922
Response Assertions
923
923
...................
924
924
925
- ``assertResponseIsSuccessful(string $message = '') ``
925
+ ``assertResponseIsSuccessful(string $message = '', bool $verbose = true ) ``
926
926
Asserts that the response was successful (HTTP status is 2xx).
927
- ``assertResponseStatusCodeSame(int $expectedCode, string $message = '') ``
927
+ ``assertResponseStatusCodeSame(int $expectedCode, string $message = '', bool $verbose = true ) ``
928
928
Asserts a specific HTTP status code.
929
- ``assertResponseRedirects(string $expectedLocation = null, int $expectedCode = null, string $message = '') ``
929
+ ``assertResponseRedirects(string $expectedLocation = null, int $expectedCode = null, string $message = '', bool $verbose = true ) ``
930
930
Asserts the response is a redirect response (optionally, you can check
931
931
the target location and status code).
932
932
``assertResponseHasHeader(string $headerName, string $message = '') ``/``assertResponseNotHasHeader(string $headerName, string $message = '') ``
@@ -943,7 +943,7 @@ Response Assertions
943
943
Asserts the response format returned by the
944
944
:method: `Symfony\\ Component\\ HttpFoundation\\ Response::getFormat ` method
945
945
is the same as the expected value.
946
- ``assertResponseIsUnprocessable(string $message = '') ``
946
+ ``assertResponseIsUnprocessable(string $message = '', bool $verbose = true ) ``
947
947
Asserts the response is unprocessable (HTTP status is 422)
948
948
949
949
Request Assertions
0 commit comments