diff --git a/core/modules/block/block.test b/core/modules/block/block.test index 4af6240..9915248 100644 --- a/core/modules/block/block.test +++ b/core/modules/block/block.test @@ -844,3 +844,27 @@ class BlockHiddenRegionTestCase extends DrupalWebTestCase { $this->assertText('Search', t('Block was displayed on the front page.')); } } + +/** + * Test the block settings in people's accounts. + */ +class BlockPeopleAccountSettingsTestCase extends DrupalWebTestCase { + public static function getInfo() { + return array( + 'name' => 'People Settings', + 'description' => t("Test the block settings in people's accounts."), + 'group' => 'Block' + ); + } + + public function setUp() { + parent::setUp(array('block', 'field_ui')); + $admin_user = $this->drupalCreateUser(array('administer blocks', 'access administration pages', 'administer users')); + $this->drupalLogin($admin_user); + } + + function testAccountSettingsPage() { + $this->drupalGet('admin/config/people/accounts/fields'); + $this->assertText('Personalize blocks', 'Personalized block is present.'); + } +}