Updated all the contrib modules to their latest versions.
[yaffs-website] / web / modules / contrib / redirect / src / Tests / RedirectUITest.php
index 8031afc871f970cf2bef68c77f3a113195179e0a..67b066614c9ee8127e33aa1f98f0ca30c14597bc 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace Drupal\redirect\Tests;
 
-use Drupal\Component\Utility\Unicode;
 use Drupal\Component\Utility\SafeMarkup;
 use Drupal\Core\Language\Language;
 use Drupal\Core\Logger\RfcLogLevel;
@@ -357,7 +356,7 @@ class RedirectUITest extends WebTestBase {
     $vocabulary = entity_create('taxonomy_vocabulary', array(
       'name' => $this->randomMachineName(),
       'description' => $this->randomMachineName(),
-      'vid' => Unicode::strtolower($this->randomMachineName()),
+      'vid' => mb_strtolower($this->randomMachineName()),
       'langcode' => Language::LANGCODE_NOT_SPECIFIED,
       'weight' => mt_rand(0, 10),
     ));