Skip to content
Snippets Groups Projects
Commit 38e9c847 authored by Markus Klein's avatar Markus Klein Committed by Susanne Moog
Browse files

[BUGFIX] Make DateViewHelperTests resilient to execution time

Executing the tests over midnight caused the changed tests to fail
as those where comparing the "current date" from the test subject
with the one gathered within the tests, those not necessarily
are on the same day.

As the DateViewHelper uses the date from the Context we
safely can use the EXEC_TIME of the Core for the expectation.

Resolves: #90752
Releases: master, 9.5
Change-Id: I3334f0fc5c3d956a4f6801a3bcd849f7f6585497
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63700


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
parent 55ad691a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment