Skip to content

Commit 5762e77

Browse files
authored
Dynamically set ApplicationType in func test
1 parent 3add485 commit 5762e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Functional/Configuration/ExtConfTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private function getRequestForContext(int $applicationType): ServerRequestInterf
8686
// Request to default page
8787
$request = new ServerRequest('https://example.com', 'GET');
8888
$request = $request->withAttribute('site', $site);
89-
$request = $request->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_FE);
89+
$request = $request->withAttribute('applicationType', $applicationType);
9090
$request = $request->withAttribute('frontend.typoscript', $frontendTypoScript);
9191

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

0 commit comments

Comments
 (0)