Skip to content

Commit dd7505b

Browse files
committedNov 29, 2024
[BUGFIX] Ensure to take test instance as class mode instance
The bugfix backport to ensure correct system environment path building to fix issue #577 missed to correctly set the flag for non-composer mode for TYPO3 v12 and lead to wrong path calculations and followup issues within functional tests. This is fixed by handing over a correct override value within the functional test bootstrap. [1] #577 [2] #633 Resolves: #658 Related: #633 Related: 409c2b8 Releases: 8
1 parent c627c85 commit dd7505b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Classes/Core/Testbase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ public function setUpBasicTypo3Bootstrap($instancePath): ContainerInterface
747747
if ($hasConsolidatedHttpEntryPoint) {
748748
SystemEnvironmentBuilder::run(0, SystemEnvironmentBuilder::REQUESTTYPE_CLI, false);
749749
} else {
750-
SystemEnvironmentBuilder::run(1, SystemEnvironmentBuilder::REQUESTTYPE_BE | SystemEnvironmentBuilder::REQUESTTYPE_CLI);
750+
SystemEnvironmentBuilder::run(1, SystemEnvironmentBuilder::REQUESTTYPE_BE | SystemEnvironmentBuilder::REQUESTTYPE_CLI, false);
751751
}
752752
$container = Bootstrap::init($classLoader);
753753
// Make sure output is not buffered, so command-line output can take place and

0 commit comments

Comments
 (0)