Commit 20bbc536 authored by bojanz's avatar bojanz

Remove usage of deprecated Unicode::strtolower().

parent e7a0f95c
......@@ -2,7 +2,6 @@
namespace Drupal\Tests\address\Kernel\Formatter;
use Drupal\Component\Utility\Unicode;
use Drupal\Core\Entity\Display\EntityViewDisplayInterface;
use Drupal\Core\Entity\FieldableEntityInterface;
use Drupal\field\Entity\FieldConfig;
......@@ -53,7 +52,7 @@ abstract class FormatterTestBase extends KernelTestBase {
$this->installConfig(['address']);
$this->installEntitySchema('entity_test');
$this->fieldName = Unicode::strtolower($this->randomMachineName());
$this->fieldName = mb_strtolower($this->randomMachineName());
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment