Project

General

Profile

Actions

Bug #103509

closed

RotatingFileWriterTest fails as there is no 30th of February

Added by Andreas Kienast 8 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-03-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The test RotatingFileWriterTest::writingLogWithExpiredLatestRotationInTimeFrameRotates currently fails with the following error:

1) TYPO3\CMS\Core\Tests\Unit\Log\Writer\RotatingFileWriterTest::writingLogWithExpiredLatestRotationInTimeFrameRotates with data set #2 (TYPO3\CMS\Core\Log\Writer\Enum\Interval Enum (MONTHLY, 'monthly'))
Failed asserting that actual size 1 matches expected size 2.

The reason is that the test creates a log file that is expected to be rotated which fails for the "monthly" case as there is no February 30th.

Actions

Also available in: Atom PDF