Skip to content

Commit e6ff097

Browse files
committed
fix(south korea): fix twoDaysLaterNewYearsDay test
`twoDaysLaterNewYearsDay` was celebrated until 1989, not in 1990 anymore, while the test was set to and including 1990. When the year 1990 is picked, `twoDaysLaterNewYearsDay` won't exists, causing the test to fail. Signed-off-by: Sacha Telgenhof <me@sachatelgenhof.com>
1 parent 867a031 commit e6ff097

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/SouthKorea/NewYearsDayTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function testHoliday(): void
5959
}
6060

6161
// Two days later New Year's Day
62-
if ($year <= 1990) {
62+
if ($year <= 1989) {
6363
$this->assertHoliday(
6464
self::REGION,
6565
'twoDaysLaterNewYearsDay',
@@ -84,7 +84,7 @@ public function testHolidayAfterRemoval(): void
8484
$this->assertNotHoliday(
8585
self::REGION,
8686
'twoDaysLaterNewYearsDay',
87-
$this->generateRandomYear(1991)
87+
$this->generateRandomYear(1990)
8888
);
8989
}
9090

0 commit comments

Comments
 (0)