diff --git a/tests/Core/LocalizedLocaleTest.php b/tests/Core/LocalizedLocaleTest.php index d1f3125..cd8f330 100644 --- a/tests/Core/LocalizedLocaleTest.php +++ b/tests/Core/LocalizedLocaleTest.php @@ -42,8 +42,8 @@ public static function provide_test_get_name(): array public function test_localize(): void { $locale = new Locale(get_repository(), LocaleId::of('fr')); - $localized = $locale->localized(LocaleId::of('es')); + $localized = $locale->localized(LocaleId::of('ja')); $this->assertInstanceOf(LocaleLocalized::class, $localized); - $this->assertEquals("francés", $localized->name); + $this->assertEquals("フランス語", $localized->name); } } diff --git a/tests/Dates/LocalizedDateTimeTest.php b/tests/Dates/LocalizedDateTimeTest.php index 0783e2f..1d5de40 100644 --- a/tests/Dates/LocalizedDateTimeTest.php +++ b/tests/Dates/LocalizedDateTimeTest.php @@ -26,7 +26,7 @@ public static function setupBeforeClass(): void self::$localized_dates['en'] = new LocalizedDateTime($datetime, locale_for('en')); self::$localized_dates['fr'] = new LocalizedDateTime($datetime, locale_for('fr')); - self::$localized_dates['zh'] = new LocalizedDateTime($datetime, locale_for('zh')); + self::$localized_dates['ja'] = new LocalizedDateTime($datetime, locale_for('ja')); } public function test_get_target(): void @@ -77,10 +77,10 @@ public static function provide_test_as(): array [ 'fr', DateTimeFormatLength::MEDIUM, "4 nov. 2013, 20:21:22" ], [ 'fr', DateTimeFormatLength::SHORT, "04/11/2013 20:21" ], - [ 'zh', DateTimeFormatLength::FULL, "2013年11月4日星期一 UTC 20:21:22" ], - [ 'zh', DateTimeFormatLength::LONG, "2013年11月4日 UTC 20:21:22" ], - [ 'zh', DateTimeFormatLength::MEDIUM, "2013年11月4日 20:21:22" ], - [ 'zh', DateTimeFormatLength::SHORT, "2013/11/4 20:21" ], + [ 'ja', DateTimeFormatLength::FULL, "2013年11月4日月曜日 20時21分22秒 UTC" ], + [ 'ja', DateTimeFormatLength::LONG, "2013年11月4日 20:21:22 UTC" ], + [ 'ja', DateTimeFormatLength::MEDIUM, "2013/11/04 20:21:22" ], + [ 'ja', DateTimeFormatLength::SHORT, "2013/11/04 20:21" ], ]; } diff --git a/tests/Numbers/NumbersTest.php b/tests/Numbers/NumbersTest.php index 585a7bb..097ee41 100644 --- a/tests/Numbers/NumbersTest.php +++ b/tests/Numbers/NumbersTest.php @@ -97,20 +97,20 @@ public static function provide_symbols(): array ) ], [ - 'ru', + 'ja', new Symbols( + '.', ',', - ' ', ';', '%', '-', '+', - '≈', + '約', 'E', '×', '‰', '∞', - 'не число', + 'NaN', '.', ',', ':' diff --git a/tests/Supplemental/Territory/TerritoryTest.php b/tests/Supplemental/Territory/TerritoryTest.php index 1106cde..9c367f7 100644 --- a/tests/Supplemental/Territory/TerritoryTest.php +++ b/tests/Supplemental/Territory/TerritoryTest.php @@ -125,7 +125,7 @@ public static function provide_test_name_as(): array [ "France", "FR", "fr" ], [ "France", "FR", "fr-BE" ], - [ "Francia", "FR", "it" ], + [ "Frankreich", "FR", "de" ], [ "フランス", "FR", "ja" ] ]; @@ -147,7 +147,7 @@ public static function provide_test_get_name_as(): array [ "France", "FR", "fr" ], [ "France", "FR", "fr_BE" ], - [ "Francia", "FR", "it" ], + [ "Frankreich", "FR", "de" ], [ "フランス", "FR", "ja" ] ];