From f3fdf986f270448d8eba3542bd61c24506ab0724 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 7 Jan 2021 17:31:36 +0100 Subject: [PATCH] [FrameworkBundle] Document assertResponseFormatSame() --- testing/functional_tests_assertions.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testing/functional_tests_assertions.rst b/testing/functional_tests_assertions.rst index 457d8c39021..0e190f0ed90 100644 --- a/testing/functional_tests_assertions.rst +++ b/testing/functional_tests_assertions.rst @@ -39,6 +39,12 @@ Response - ``assertResponseHasCookie()`` - ``assertResponseNotHasCookie()`` - ``assertResponseCookieValueSame()`` +- ``assertResponseFormatSame()`` (the response format is the value returned by + the :method:`Symfony\Component\HttpFoundation\Response::getFormat` method). + +.. versionadded:: 5.3 + + The ``assertResponseFormatSame()`` method was introduced in Symfony 5.3. Request ~~~~~~~