Skip to content

Commit f4bda86

Browse files
committed
test: Remove ambiguous DateInterval test case
1 parent b422e88 commit f4bda86

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/Unit/Internal/Support/DateIntervalTestCase.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ public static function provideCarbonDateIntervalDifferences(): \Generator
123123
// P2M: Carbon parses as 2 minutes, DateInterval as 2 months
124124
yield 'P2M - ambiguous months/minutes' => ['P2M', true];
125125

126-
// PT1H5M: Carbon may parse as 1 hour (dropping the 5M), DateInterval as 1 hour 5 minutes
127-
yield 'PT1H5M - potential parsing issue' => ['PT1H5M', false]; // This should work correctly
128-
129126
// Cases that should NOT trigger warning (identical parsing)
130127
yield 'PT2M - explicit minutes with T' => ['PT2M', false];
131128
yield 'P1Y - explicit years' => ['P1Y', false];

0 commit comments

Comments
 (0)