function UserRoleAdminTestCase::setUp
Overrides DrupalWebTestCase::setUp
File
-
modules/
user/ user.test, line 2569
Class
- UserRoleAdminTestCase
- Test case to test adding, editing and deleting roles.
Code
function setUp() {
parent::setUp();
$this->admin_user = $this->drupalCreateUser(array(
'administer permissions',
'administer users',
));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.