#90752Make tests resilient to change of day during execution
Description
https://bamboo.typo3.com/browse/CORE-GTC-UT0PHP72-1309/test/case/12369222
failed because it was executed exactly around midnight.
The tests must not rely on being executed completely on the same day.