Skip to content

Commit

Permalink
[TEST] Eliminate error message Undefined global variable $EXEC_TIME
Browse files Browse the repository at this point in the history
  • Loading branch information
tinzog committed Feb 3, 2025
1 parent 68c90ff commit 7d97d88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tests/Functional/FunctionalTestsBootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@

$context = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Context\Context::class);
$context->setAspect('date', new DateTimeAspect(new \DateTimeImmutable('@' . time())));
$GLOBALS['EXEC_TIME'] = time();
});

0 comments on commit 7d97d88

Please sign in to comment.