X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ffield%2Ftests%2Fsrc%2FFunctional%2FTranslationWebTest.php;h=465add964dff616b232fff17794c48fd51b1d461;hp=19af64d917e6752f68df8bded1f8e900f6581147;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/field/tests/src/Functional/TranslationWebTest.php b/web/core/modules/field/tests/src/Functional/TranslationWebTest.php index 19af64d91..465add964 100644 --- a/web/core/modules/field/tests/src/Functional/TranslationWebTest.php +++ b/web/core/modules/field/tests/src/Functional/TranslationWebTest.php @@ -2,7 +2,6 @@ namespace Drupal\Tests\field\Functional; -use Drupal\Component\Utility\Unicode; use Drupal\field\Entity\FieldStorageConfig; use Drupal\field\Entity\FieldConfig; use Drupal\language\Entity\ConfigurableLanguage; @@ -52,7 +51,7 @@ class TranslationWebTest extends FieldTestBase { protected function setUp() { parent::setUp(); - $this->fieldName = Unicode::strtolower($this->randomMachineName() . '_field_name'); + $this->fieldName = mb_strtolower($this->randomMachineName() . '_field_name'); $field_storage = [ 'field_name' => $this->fieldName,