Skip to content

Commit f3fdf98

Browse files
javiereguiluzOskarStark
authored andcommitted
[FrameworkBundle] Document assertResponseFormatSame()
1 parent 37948c0 commit f3fdf98

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

testing/functional_tests_assertions.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ Response
3939
- ``assertResponseHasCookie()``
4040
- ``assertResponseNotHasCookie()``
4141
- ``assertResponseCookieValueSame()``
42+
- ``assertResponseFormatSame()`` (the response format is the value returned by
43+
the :method:`Symfony\Component\HttpFoundation\Response::getFormat` method).
44+
45+
.. versionadded:: 5.3
46+
47+
The ``assertResponseFormatSame()`` method was introduced in Symfony 5.3.
4248

4349
Request
4450
~~~~~~~

0 commit comments

Comments
 (0)