diff --git a/core/modules/block/block.test b/core/modules/block/block.test index c3fc9e2..a265c4f 100644 --- a/core/modules/block/block.test +++ b/core/modules/block/block.test @@ -850,19 +850,22 @@ class BlockHiddenRegionTestCase extends DrupalWebTestCase { */ class BlockUserAccountSettingsTestCase extends DrupalWebTestCase { public static function getInfo() { - return array( - 'name' => 'Personalized block settings', - 'description' => 'Tests the block settings in user accounts.', - 'group' => 'Block' - ); + return array( + 'name' => 'Personalized block settings', + 'description' => 'Tests the block settings in user accounts.', + 'group' => 'Block', + ); } public function setUp() { parent::setUp(array('block', 'field_ui')); - $admin_user = $this->drupalCreateUser(array('administer blocks', 'access administration pages', 'administer users')); + $admin_user = $this->drupalCreateUser(array('administer users')); $this->drupalLogin($admin_user); } + /** + * Tests that the personalized block is shown. + */ function testAccountSettingsPage() { $this->drupalGet('admin/config/people/accounts/fields'); $this->assertText(t('Personalize blocks'), 'Personalized block is present.');