Skip to content
Snippets Groups Projects
Commit a774f597 authored by Andreas Kienast's avatar Andreas Kienast Committed by Christian Kuhn
Browse files

[BUGFIX] Use correct `DateInterval` objects in `RotatingFileWriterTest`

The `RotatingFileWriterTest` previously used a timestamp-based
calculation to mock file names. This approach conflicts with the
`DateInterval`-based calculation and might lead to false-negative test
results. This commit updates the test cases by using the interval-based
calculation now.

Resolves: #103243
Releases: main
Change-Id: I9b08b797377eb504af7707acf520fae896b6cbb1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83177


Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent cf4d8531
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