Skip to content

Commit 3c9b886

Browse files
[PhpUnitBridge] fix replaying skipped tests
1 parent 08aa334 commit 3c9b886

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Tests/DateFormatter/Verification/IntlDateFormatterTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ protected function setUp(): void
3030
parent::setUp();
3131
}
3232

33+
/**
34+
* @dataProvider formatProvider
35+
*/
36+
public function testFormat($pattern, $timestamp, $expected)
37+
{
38+
if (\PHP_VERSION_ID < 70105 && $timestamp instanceof \DateTimeImmutable) {
39+
$this->markTestSkipped('PHP >= 7.1.5 required for DateTimeImmutable.');
40+
}
41+
42+
parent::testFormat($pattern, $timestamp, $expected);
43+
}
44+
3345
/**
3446
* @dataProvider formatTimezoneProvider
3547
*/

0 commit comments

Comments
 (0)