X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Ftests%2Fsrc%2FFunctional%2FVocabularyUiTest.php;h=2620cb8fc4793fa984bc3e86a3c4273b086026af;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=e39a0d855540f2bfea9c3f7a9aeba4984608d989;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/web/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php b/web/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php index e39a0d855..2620cb8fc 100644 --- a/web/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php +++ b/web/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php @@ -2,8 +2,6 @@ namespace Drupal\Tests\taxonomy\Functional; -use Drupal\Component\Utility\Unicode; - use Drupal\Core\Url; use Drupal\taxonomy\Entity\Vocabulary; @@ -39,7 +37,7 @@ class VocabularyUiTest extends TaxonomyTestBase { // Create a new vocabulary. $this->clickLink(t('Add vocabulary')); $edit = []; - $vid = Unicode::strtolower($this->randomMachineName()); + $vid = mb_strtolower($this->randomMachineName()); $edit['name'] = $this->randomMachineName(); $edit['description'] = $this->randomMachineName(); $edit['vid'] = $vid; @@ -131,7 +129,7 @@ class VocabularyUiTest extends TaxonomyTestBase { */ public function testTaxonomyAdminDeletingVocabulary() { // Create a vocabulary. - $vid = Unicode::strtolower($this->randomMachineName()); + $vid = mb_strtolower($this->randomMachineName()); $edit = [ 'name' => $this->randomMachineName(), 'vid' => $vid,