- π³π±Netherlands frontmobe Amsterdam
This behaviour still exists in the Drupal 10.1 / 11.x branches.
Since the the issue does not break anything but instead deals with doing testing the right way, I am changing the category from "Bug report" to "Task" here.
Looking for another issue where this might be addressed, resulted only in the much broader meta issue π [meta][no patch] Replace uses of REQUEST_TIME and time() with time service Active calling for uses of time() and REQUEST_TIME to be replaced by the time service, like in this issue.
Using the time service here does seem useful because consistent use has clear benefits, as outlined here β .