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=80ea2d7585032002f677cb65ade21c7f3749f342;hpb=bfbba508964731508b9bd6d5835c2edc858db95b;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 80ea2d758..2620cb8fc 100644 --- a/web/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php +++ b/web/core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php @@ -1,7 +1,6 @@ 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; @@ -77,7 +76,7 @@ class VocabularyUiTest extends TaxonomyTestBase { $this->drupalPostForm('admin/structure/taxonomy/add', $edit, t('Save')); $site_name = $this->config('system.site')->get('name'); - $this->assertTitle(t('Don\'t Panic | @site-name', ['@site-name' => $site_name]), 'The page title contains the escaped character.'); + $this->assertTitle(t("Don't Panic | @site-name", ['@site-name' => $site_name]), 'The page title contains the escaped character.'); } /** @@ -130,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,