Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / block / tests / src / Functional / BlockLanguageCacheTest.php
index b9c7c909eef15a72f12171ec14c860aed272ec42..9ca2b718636de7c648065caedccb9e3e6c1825eb 100644 (file)
@@ -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 @@ class BlockLanguageCacheTest extends BrowserTestBase {
 
     // 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']]));