diff --git a/tests/framework/helpers/InflectorTest.php b/tests/framework/helpers/InflectorTest.php index cb15fc09f5..4a9a1c6d44 100644 --- a/tests/framework/helpers/InflectorTest.php +++ b/tests/framework/helpers/InflectorTest.php @@ -250,7 +250,7 @@ class InflectorTest extends TestCase 'العربي' => 'alʿrby', 'عرب' => 'ʿrb', // Hebrew - 'עִבְרִית' => 'ʻiberiyt', + 'עִבְרִית' => version_compare(INTL_ICU_DATA_VERSION, '57.1', '>=') ? '\'iberiyt' : 'ʻiberiyt', // Turkish 'Sanırım hepimiz aynı şeyi düşünüyoruz.' => 'Sanirim hepimiz ayni seyi dusunuyoruz.', @@ -293,7 +293,7 @@ class InflectorTest extends TestCase 'العربي' => 'alrby', 'عرب' => 'rb', // Hebrew - 'עִבְרִית' => 'iberiyt', + 'עִבְרִית' => version_compare(INTL_ICU_DATA_VERSION, '57.1', '>=') ? '\'iberiyt' : 'iberiyt', // Turkish 'Sanırım hepimiz aynı şeyi düşünüyoruz.' => 'Sanirim hepimiz ayni seyi dusunuyoruz.', diff --git a/tests/framework/i18n/FormatterNumberTest.php b/tests/framework/i18n/FormatterNumberTest.php index e0399b1c80..cfb6d206b7 100644 --- a/tests/framework/i18n/FormatterNumberTest.php +++ b/tests/framework/i18n/FormatterNumberTest.php @@ -264,7 +264,11 @@ class FormatterNumberTest extends TestCase // default russian currency symbol $this->formatter->locale = 'ru-RU'; $this->formatter->currencyCode = null; - $this->assertSame('123,00 руб.', $this->formatter->asCurrency('123')); + if (version_compare(INTL_ICU_DATA_VERSION, '57.1', '>=')) { + $this->assertSame('123,00 ₽', $this->formatter->asCurrency('123')); + } else { + $this->assertSame('123,00 руб.', $this->formatter->asCurrency('123')); + } $this->formatter->currencyCode = 'RUB'; $this->assertSame('123,00 руб.', $this->formatter->asCurrency('123'));