Mercurial > hg > isophonics-drupal-site
diff core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line diff
--- a/core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php Thu Feb 28 13:21:36 2019 +0000 @@ -2,7 +2,6 @@ namespace Drupal\Tests\block\Functional; -use Drupal\Component\Utility\Unicode; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\Tests\BrowserTestBase; @@ -62,7 +61,7 @@ // Create a menu in the default language. $edit['label'] = $this->randomMachineName(); - $edit['id'] = Unicode::strtolower($edit['label']); + $edit['id'] = mb_strtolower($edit['label']); $this->drupalPostForm('admin/structure/menu/add', $edit, t('Save')); $this->assertText(t('Menu @label has been added.', ['@label' => $edit['label']]));