Skip to content

Commit

Permalink
[BUGFIX] Ensure to take test instance as class mode instance
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sbuerk committed Nov 29, 2024
1 parent c627c85 commit dd7505b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Core/Testbase.php
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ public function setUpBasicTypo3Bootstrap($instancePath): ContainerInterface
if ($hasConsolidatedHttpEntryPoint) {
SystemEnvironmentBuilder::run(0, SystemEnvironmentBuilder::REQUESTTYPE_CLI, false);
} else {
SystemEnvironmentBuilder::run(1, SystemEnvironmentBuilder::REQUESTTYPE_BE | SystemEnvironmentBuilder::REQUESTTYPE_CLI);
SystemEnvironmentBuilder::run(1, SystemEnvironmentBuilder::REQUESTTYPE_BE | SystemEnvironmentBuilder::REQUESTTYPE_CLI, false);
}
$container = Bootstrap::init($classLoader);
// Make sure output is not buffered, so command-line output can take place and
Expand Down

0 comments on commit dd7505b

Please sign in to comment.