function NonDefaultBlockAdmin::testNonDefaultBlockAdmin in Drupal 7
Test non-default theme admin.
File
- modules/
block/ block.test, line 395 - Tests for block.module.
Class
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');
}