X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fredirect%2Fsrc%2FTests%2FRedirectUITest.php;h=67b066614c9ee8127e33aa1f98f0ca30c14597bc;hp=8031afc871f970cf2bef68c77f3a113195179e0a;hb=059867c3f96750652c80f39e44c442a58c2549ee;hpb=f8fc16ae6b862bef59baaad5d051dd37b7ff11b2 diff --git a/web/modules/contrib/redirect/src/Tests/RedirectUITest.php b/web/modules/contrib/redirect/src/Tests/RedirectUITest.php index 8031afc87..67b066614 100644 --- a/web/modules/contrib/redirect/src/Tests/RedirectUITest.php +++ b/web/modules/contrib/redirect/src/Tests/RedirectUITest.php @@ -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), ));