Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / filter / tests / src / Functional / FilterDefaultFormatTest.php
index 45c37117113334112cb1ba509bd7a5505b75c801..e5a57482a53026870f746098b6a2b747aca53653 100644 (file)
@@ -2,7 +2,6 @@
 
 namespace Drupal\Tests\filter\Functional;
 
-use Drupal\Component\Utility\Unicode;
 use Drupal\filter\Entity\FilterFormat;
 use Drupal\Tests\BrowserTestBase;
 
@@ -31,7 +30,7 @@ class FilterDefaultFormatTest extends BrowserTestBase {
     $formats = [];
     for ($i = 0; $i < 2; $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'));