Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / filter / tests / src / Functional / FilterFormatAccessTest.php
index 8c3394bdbf8afef79badc185cb7a36bfcc0950db..f82d258ddfc48f93dcbe7d6a2711e4bbab772513 100644 (file)
@@ -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'));