X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FKernelTests%2FCore%2FField%2FFieldItemTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FKernelTests%2FCore%2FField%2FFieldItemTest.php;h=d1469ef53dc2e354e6cb43b936ea0b819f8154e9;hp=e14fc6371158c49bdf6916fc756b435c5e0d6154;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/tests/Drupal/KernelTests/Core/Field/FieldItemTest.php b/web/core/tests/Drupal/KernelTests/Core/Field/FieldItemTest.php index e14fc6371..d1469ef53 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Field/FieldItemTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Field/FieldItemTest.php @@ -2,7 +2,6 @@ namespace Drupal\KernelTests\Core\Field; -use Drupal\Component\Utility\Unicode; use Drupal\entity_test\Entity\EntityTest; use Drupal\entity_test\Entity\EntityTestMulRev; use Drupal\field\Entity\FieldConfig; @@ -33,7 +32,7 @@ class FieldItemTest extends EntityKernelTestBase { $entity_type_id = 'entity_test_mulrev'; $this->installEntitySchema($entity_type_id); - $this->fieldName = Unicode::strtolower($this->randomMachineName()); + $this->fieldName = mb_strtolower($this->randomMachineName()); /** @var \Drupal\field\Entity\FieldStorageConfig $field_storage */ FieldStorageConfig::create([