X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Feditor%2Ftests%2Fsrc%2FKernel%2FEditorFilterIntegrationTest.php;h=c7a9b9ad5ba2b29bdf5b14b475baf05f1bd95d01;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=30f36e5a7295eaf28cb47e4af481110e296d5dea;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/editor/tests/src/Kernel/EditorFilterIntegrationTest.php b/web/core/modules/editor/tests/src/Kernel/EditorFilterIntegrationTest.php index 30f36e5a7..c7a9b9ad5 100644 --- a/web/core/modules/editor/tests/src/Kernel/EditorFilterIntegrationTest.php +++ b/web/core/modules/editor/tests/src/Kernel/EditorFilterIntegrationTest.php @@ -2,7 +2,6 @@ namespace Drupal\Tests\editor\Kernel; -use Drupal\Component\Utility\Unicode; use Drupal\editor\Entity\Editor; use Drupal\filter\Entity\FilterFormat; use Drupal\KernelTests\KernelTestBase; @@ -25,7 +24,7 @@ class EditorFilterIntegrationTest extends KernelTestBase { public function testTextFormatIntegration() { // Create an arbitrary text format. $format = FilterFormat::create([ - 'format' => Unicode::strtolower($this->randomMachineName()), + 'format' => mb_strtolower($this->randomMachineName()), 'name' => $this->randomString(), ]); $format->save();