function NonDefaultBlockAdmin::testNonDefaultBlockAdmin

7.x block.test NonDefaultBlockAdmin::testNonDefaultBlockAdmin()

Test non-default theme admin.

File

drupal-7.x/modules/block/block.test, line 395
Tests for block.module.

Class

NonDefaultBlockAdmin

Code

function testNonDefaultBlockAdmin() {
  $admin_user = $this->drupalCreateUser(array('administer blocks', 'administer themes'));
  $this->drupalLogin($admin_user);
  theme_enable(array('stark'));
  $this->drupalGet('admin/structure/block/list/stark');
}