From 4335df730538af75c9691f42f81646e8e1f98844 Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Mon, 15 Jan 2024 13:43:38 +0100 Subject: [PATCH] [TASK] Migrate the deprecated `executeFrontendRequest` in tests (#1116) This method is deprecated. Starting with TYPO3 11LTS, `executeFrontendSubRequest` should be used. Co-authored-by: Daniel Siepmann --- Tests/Functional/Controller/TeaControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Functional/Controller/TeaControllerTest.php b/Tests/Functional/Controller/TeaControllerTest.php index 00d137a..d144168 100644 --- a/Tests/Functional/Controller/TeaControllerTest.php +++ b/Tests/Functional/Controller/TeaControllerTest.php @@ -44,7 +44,7 @@ final class TeaControllerTest extends FunctionalTestCase $request = new InternalRequest(); $request = $request->withPageId(1); - $html = $this->executeFrontendRequest($request)->getBody()->__toString(); + $html = $this->executeFrontendSubRequest($request)->getBody()->__toString(); self::assertStringContainsString('Godesberger Burgtee', $html); self::assertStringContainsString('Oolong', $html);