Mercurial > hg > isophonics-drupal-site
diff core/modules/taxonomy/tests/src/Functional/TaxonomyTestTrait.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/taxonomy/tests/src/Functional/TaxonomyTestTrait.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/modules/taxonomy/tests/src/Functional/TaxonomyTestTrait.php Thu Feb 28 13:21:36 2019 +0000 @@ -2,7 +2,6 @@ namespace Drupal\Tests\taxonomy\Functional; -use Drupal\Component\Utility\Unicode; use Drupal\Core\Language\LanguageInterface; use Drupal\taxonomy\Entity\Vocabulary; use Drupal\taxonomy\Entity\Term; @@ -20,7 +19,7 @@ $vocabulary = Vocabulary::create([ 'name' => $this->randomMachineName(), 'description' => $this->randomMachineName(), - 'vid' => Unicode::strtolower($this->randomMachineName()), + 'vid' => mb_strtolower($this->randomMachineName()), 'langcode' => LanguageInterface::LANGCODE_NOT_SPECIFIED, 'weight' => mt_rand(0, 10), ]);