diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php index f919a46..5c1b31a 100644 --- a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php +++ b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php @@ -32,8 +32,7 @@ * @var array */ protected $permissions = array( - 'administer blocks', - 'administer custom_block fields' + 'administer blocks' ); /** diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTypeTest.php b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTypeTest.php index 5138393..2041aeb 100644 --- a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTypeTest.php +++ b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTypeTest.php @@ -20,6 +20,16 @@ class CustomBlockTypeTest extends CustomBlockTestBase { public static $modules = array('field_ui'); /** + * Permissions to grant admin user. + * + * @var array + */ + protected $permissions = array( + 'administer blocks', + 'administer custom_block fields' + ); + + /** * Declares test information. */ public static function getInfo() {