Skip to content

Commit

Permalink
[BUGFIX] Adjust ServerRequest to TYPO3 11.5.33 security updates
Browse files Browse the repository at this point in the history
  • Loading branch information
IchHabRecht committed Apr 25, 2024
1 parent 7dde8c6 commit 77ee91d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/Functional/AbstractFunctionalTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ protected function setUp(): void

$serverRequest = $this->prophesize(ServerRequestInterface::class);
$serverRequest->getAttribute('applicationType')->willReturn(2);
$serverRequest->getAttribute('normalizedParams')->willReturn(null);
$serverRequest->getAttribute('route')->willReturn(null);
$serverRequest->getServerParams()->willReturn([]);
$GLOBALS['TYPO3_REQUEST'] = $serverRequest->reveal();

$fixturePath = ORIGINAL_ROOT . 'typo3conf/ext/content_defender/Tests/Functional/Fixtures/Database/';
Expand Down

0 comments on commit 77ee91d

Please sign in to comment.