/** 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 +index a1b5f97..8a0a43f 100644 --- a/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php +++ b/core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php -@@ -77,6 +77,34 @@ public function testBlockContentCreation() { +@@ -78,6 +78,34 @@ public function testBlockContentCreation() { '%value' => $edit['info[0][value]'], ])); $this->assertResponse(200); @@ -269,9 +152,9 @@ + // 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->drupalGet('block/add/basic'); + $this->assertSession()->statusCodeEquals(200); + // Only 1 block type accessible, user is shown the form for that type. + $this->assertSession()->fieldExists('info[0][value]'); @@ -297,10 +180,10 @@