namespace Drupal\Tests\filter\Functional;
-use Drupal\Component\Utility\Unicode;
use Drupal\filter\Entity\FilterFormat;
use Drupal\Tests\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'));