namespace Drupal\Tests\block\Functional;
-use Drupal\Component\Utility\Unicode;
use Drupal\Tests\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.