public function AcquiaSearchWebTestCase::createAdminUser in Acquia Search 6.3
Creates an admin user.
1 call to AcquiaSearchWebTestCase::createAdminUser()
- AcquiaSearchWebTestCase::testEnvironmentUI in tests/
acquia_search.test - Tests that the Acquia Search environment shows up in the interface and that administrators cannot delete it.
File
- tests/
acquia_search.test, line 145
Class
- AcquiaSearchWebTestCase
- Tests the functionality of the Acquia Search module.
Code
public function createAdminUser() {
$permissions = array(
'access content',
'search content',
'administer nodes',
'administer search',
);
return $this
->drupalCreateUser($permissions);
}