/** diff --git a/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php b/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php index 361bade5f8..7659549d89 100644 @@ -269,7 +269,7 @@ + // Test user with specific create permission has access to add that type + // via the UI. + $this->createBlockContentType('test_block_type'); -+ $user = $this->drupalCreateUser(['create basic block content']); ++ $user = $this->drupalCreateUser(['create basic block content', 'administer blocks']); + $this->drupalLogin($user); + $this->drupalGet('block/add'); + $this->assertSession()->statusCodeEquals(200); @@ -294,7 +294,7 @@ + $this->assertSession()->addressEquals('block/add/test_block_type'); + $this->assertSession()->statusCodeEquals(200); }