Skip to content

Commit 30ead90

Browse files
committed
Tweaks
1 parent aee664e commit 30ead90

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

testing/functional_tests_assertions.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ Response
3939
- ``assertResponseHasCookie()``
4040
- ``assertResponseNotHasCookie()``
4141
- ``assertResponseCookieValueSame()``
42-
- ``assertResponseFormatSame()``, it returns the format associated to the MIME
43-
type of the ``Content-Type`` of the response (e.g. it returns ``jsonld`` for
44-
``application/ld+json`` content type).
42+
- ``assertResponseFormatSame()`` (the response format is the value returned by
43+
the :method:`Symfony\Component\HttpFoundation\Response::getFormat` method).
4544

46-
.. versionadded:: 5.x
45+
.. versionadded:: 5.3
4746

4847
The ``assertResponseFormatSame()`` method was introduced in Symfony 5.3.
4948

0 commit comments

Comments
 (0)