From 3b494320ad22993fbb786c58397ccede9cef00c4 Mon Sep 17 00:00:00 2001 From: Sacha Telgenhof Date: Sun, 3 Dec 2023 23:22:28 +0900 Subject: [PATCH] Fix New Years Day tests of South Korea. The holiday 'twoDaysLaterNewYearsDay' has been removed from 1990, however the unit test for the name and holiday type allowed the possible testing range to include the year 1990. Signed-off-by: Sacha Telgenhof --- tests/SouthKorea/NewYearsDayTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/SouthKorea/NewYearsDayTest.php b/tests/SouthKorea/NewYearsDayTest.php index ec65ee9ba..a865e516c 100644 --- a/tests/SouthKorea/NewYearsDayTest.php +++ b/tests/SouthKorea/NewYearsDayTest.php @@ -122,7 +122,7 @@ public function testTranslation(): void $this->assertTranslatedHolidayName( self::REGION, 'twoDaysLaterNewYearsDay', - $this->generateRandomYear(self::ESTABLISHMENT_YEAR, 1990), + $this->generateRandomYear(self::ESTABLISHMENT_YEAR, 1989), [self::LOCALE => '새해 연휴'] ); } @@ -149,7 +149,7 @@ public function testHolidayType(): void $this->assertHolidayType( self::REGION, 'twoDaysLaterNewYearsDay', - $this->generateRandomYear(self::ESTABLISHMENT_YEAR, 1990), + $this->generateRandomYear(self::ESTABLISHMENT_YEAR, 1989), Holiday::TYPE_OFFICIAL ); }