X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fblock%2Ftests%2Fsrc%2FFunctional%2FBlockHookOperationTest.php;fp=web%2Fcore%2Fmodules%2Fblock%2Ftests%2Fsrc%2FFunctional%2FBlockHookOperationTest.php;h=23b1f0ce5fd3e4f845a9aec5a068bd18d64fee47;hp=3a5c1ffbd5c4f04c5a2259cbf71ad25d44b09f9c;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/block/tests/src/Functional/BlockHookOperationTest.php b/web/core/modules/block/tests/src/Functional/BlockHookOperationTest.php index 3a5c1ffbd..23b1f0ce5 100644 --- a/web/core/modules/block/tests/src/Functional/BlockHookOperationTest.php +++ b/web/core/modules/block/tests/src/Functional/BlockHookOperationTest.php @@ -2,7 +2,6 @@ namespace Drupal\Tests\block\Functional; -use Drupal\Component\Utility\Unicode; use Drupal\Tests\BrowserTestBase; /** @@ -37,7 +36,7 @@ class BlockHookOperationTest extends BrowserTestBase { public function testBlockOperationAlter() { // Add a test block, any block will do. // Set the machine name so the test_operation link can be built later. - $block_id = Unicode::strtolower($this->randomMachineName(16)); + $block_id = mb_strtolower($this->randomMachineName(16)); $this->drupalPlaceBlock('system_powered_by_block', ['id' => $block_id]); // Get the Block listing.