Skip to content

Commit

Permalink
Merge pull request #26 from jweiland-net/sfroemkenjw-patch-1
Browse files Browse the repository at this point in the history
Dynamically set ApplicationType in func test
  • Loading branch information
hojalatheef authored Jan 15, 2024
2 parents 3add485 + 5762e77 commit 51403aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Functional/Configuration/ExtConfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private function getRequestForContext(int $applicationType): ServerRequestInterf
// Request to default page
$request = new ServerRequest('https://example.com', 'GET');
$request = $request->withAttribute('site', $site);
$request = $request->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_FE);
$request = $request->withAttribute('applicationType', $applicationType);
$request = $request->withAttribute('frontend.typoscript', $frontendTypoScript);

return $request->withAttribute('language', $site->getDefaultLanguage());
Expand Down

0 comments on commit 51403aa

Please sign in to comment.