Skip to content

Commit

Permalink
[TASK] Update styleguide UnitTestsBootstrap.php
Browse files Browse the repository at this point in the history
The third argument on SystemEnvironmentBuilder::run()
is obsolete.
  • Loading branch information
lolli42 committed Nov 1, 2023
1 parent 205757d commit 0c71d7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Build/UnitTestsBootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@

$testbase->defineSitePath();

$composerMode = defined('TYPO3_COMPOSER_MODE') && TYPO3_COMPOSER_MODE === true;
$requestType = \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_BE | \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::REQUESTTYPE_CLI;
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, $requestType, $composerMode);
\TYPO3\CMS\Core\Core\SystemEnvironmentBuilder::run(0, $requestType);

$testbase->createDirectory(\TYPO3\CMS\Core\Core\Environment::getPublicPath() . '/typo3conf/ext');
$testbase->createDirectory(\TYPO3\CMS\Core\Core\Environment::getPublicPath() . '/typo3temp/assets');
Expand Down

0 comments on commit 0c71d7e

Please sign in to comment.