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 37948c0 commit aee664eCopy full SHA for aee664e
testing/functional_tests_assertions.rst
@@ -39,6 +39,13 @@ 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).
45
+
46
+.. versionadded:: 5.x
47
48
+ The ``assertResponseFormatSame()`` method was introduced in Symfony 5.3.
49
50
Request
51
~~~~~~~
0 commit comments