function NonDefaultBlockAdmin::testNonDefaultBlockAdmin
Test non-default theme admin.
File
-
modules/
block/ block.test, line 395
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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.