Skip to content

Commit 270c375

Browse files
committed
run tests with PHPUnit 12.3
1 parent 87c204a commit 270c375

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/InlineTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ public static function getTestsForDump()
556556
}
557557

558558
#[DataProvider('getTimestampTests')]
559-
public function testParseTimestampAsUnixTimestampByDefault(string $yaml, int $year, int $month, int $day, int $hour, int $minute, int $second, int $microsecond)
559+
public function testParseTimestampAsUnixTimestampByDefault(string $yaml, int $year, int $month, int $day, int $hour, int $minute, int $second, int $microsecond, string $timezone)
560560
{
561561
$expectedDate = (new \DateTimeImmutable($yaml, new \DateTimeZone('UTC')))->format('U');
562562
$this->assertSame($microsecond ? (float) "$expectedDate.$microsecond" : (int) $expectedDate, Inline::parse($yaml));
@@ -586,7 +586,7 @@ public static function getTimestampTests(): array
586586
}
587587

588588
#[DataProvider('getTimestampTests')]
589-
public function testParseNestedTimestampListAsDateTimeObject(string $yaml, int $year, int $month, int $day, int $hour, int $minute, int $second, int $microsecond)
589+
public function testParseNestedTimestampListAsDateTimeObject(string $yaml, int $year, int $month, int $day, int $hour, int $minute, int $second, int $microsecond, string $timezone)
590590
{
591591
$expected = (new \DateTimeImmutable($yaml))
592592
->setTimeZone(new \DateTimeZone('UTC'))

0 commit comments

Comments
 (0)