X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Ftests%2Fsrc%2FFunctional%2FVocabularyTranslationTest.php;fp=web%2Fcore%2Fmodules%2Ftaxonomy%2Ftests%2Fsrc%2FFunctional%2FVocabularyTranslationTest.php;h=aa98ac33300b6b83b304b7d3f1c744666297c328;hp=2d312578e75504c1405e8411df8bd7a0c4f79e69;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php b/web/core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php index 2d312578e..aa98ac333 100644 --- a/web/core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php +++ b/web/core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php @@ -2,8 +2,6 @@ namespace Drupal\Tests\taxonomy\Functional; -use Drupal\Component\Utility\Unicode; - /** * Tests content translation for vocabularies. * @@ -39,7 +37,7 @@ class VocabularyTranslationTest extends TaxonomyTestBase { $this->assertField('edit-default-language-content-translation', 'The content translation checkbox is present on the page.'); // Create the vocabulary. - $vid = Unicode::strtolower($this->randomMachineName()); + $vid = mb_strtolower($this->randomMachineName()); $edit['name'] = $this->randomMachineName(); $edit['description'] = $this->randomMachineName(); $edit['langcode'] = 'en';