diff -u b/core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php b/core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php
--- b/core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php
+++ b/core/modules/block_content/tests/src/Kernel/BlockContentPermissionsTest.php
@@ -70,15 +70,15 @@
$permissions = $this->permissionHandler->getPermissions();
- // Assert the basic permissions has been created.
- $this->assertArrayHasKey('edit any basic block', $permissions, 'The per-block dynamic permission exists.');
+ // Assert the basic permission has been created.
+ $this->assertArrayHasKey('edit any basic block', $permissions, 'The per-block-type permission exists.');
$this->assertEquals(
'A basic block type: Edit any content',
$permissions['edit any basic block']['title']->render()
);
- // Assert the square permissions has been created.
- $this->assertArrayHasKey('edit any square block', $permissions, 'The per-block dynamic permission exists.');
+ // Assert the square permission has been created.
+ $this->assertArrayHasKey('edit any square block', $permissions, 'The per-block-type permission exists.');
$this->assertEquals(
'A square block type: Edit any content',
$permissions['edit any square block']['title']->render()