mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-10 00:56:12 +01:00
[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 <coding@daniel-siepmann.de>
This commit is contained in:
parent
beccf7fa6c
commit
4335df7305
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue