X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ffilter%2Ftests%2Fsrc%2FFunctional%2FFilterFormatAccessTest.php;fp=web%2Fcore%2Fmodules%2Ffilter%2Ftests%2Fsrc%2FFunctional%2FFilterFormatAccessTest.php;h=f82d258ddfc48f93dcbe7d6a2711e4bbab772513;hp=8c3394bdbf8afef79badc185cb7a36bfcc0950db;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php b/web/core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php index 8c3394bdb..f82d258dd 100644 --- a/web/core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php +++ b/web/core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php @@ -2,7 +2,6 @@ namespace Drupal\Tests\filter\Functional; -use Drupal\Component\Utility\Unicode; use Drupal\Core\Access\AccessResult; use Drupal\filter\Entity\FilterFormat; use Drupal\Tests\BrowserTestBase; @@ -85,7 +84,7 @@ class FilterFormatAccessTest extends BrowserTestBase { $formats = []; for ($i = 0; $i < 3; $i++) { $edit = [ - 'format' => Unicode::strtolower($this->randomMachineName()), + 'format' => mb_strtolower($this->randomMachineName()), 'name' => $this->randomMachineName(), ]; $this->drupalPostForm('admin/config/content/formats/add', $edit, t('Save configuration'));