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 aee664e commit 30ead90Copy full SHA for 30ead90
testing/functional_tests_assertions.rst
@@ -39,11 +39,10 @@ Response
39
- ``assertResponseHasCookie()``
40
- ``assertResponseNotHasCookie()``
41
- ``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).
+- ``assertResponseFormatSame()`` (the response format is the value returned by
+ the :method:`Symfony\Component\HttpFoundation\Response::getFormat` method).
45
46
-.. versionadded:: 5.x
+.. versionadded:: 5.3
47
48
The ``assertResponseFormatSame()`` method was introduced in Symfony 5.3.
49
0 commit comments