From d6d735c521fafbebdc2ec4785b81f8e4ce7c7097 Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Tue, 10 Jan 2023 17:35:35 +0100 Subject: [PATCH] add migration info about IntegrationTestTrait::requestAsJson() and IntegrationTestTrait::configRequest() --- en/appendices/5-0-migration-guide.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/en/appendices/5-0-migration-guide.rst b/en/appendices/5-0-migration-guide.rst index 7e437f229c..a2bc3d4448 100644 --- a/en/appendices/5-0-migration-guide.rst +++ b/en/appendices/5-0-migration-guide.rst @@ -138,6 +138,8 @@ TestSuite - ``TestSuite`` was removed. Users should use environment variables to customize unit test settings instead. - ``TestListenerTrait`` was removed. PHPUnit dropped support for these listeners. +- ``IntegrationTestTrait::configRequest()`` now merges config when called multiple times + instead of replacing the currently present config. Validation ---------- @@ -194,3 +196,8 @@ Database - ``Query::all()`` was added which runs result decorator callbacks and returns a result set for select queries. - ``EnumType`` was added to allow mapping between PHP backed enums and a string or integer column. + +TestSuite +--------- + +- ``IntegrationTestTrait::requestAsJson()`` has been added to set JSON headers for the next request.