public function AcquiaSearchWebTestCase::createAdminUser in Acquia Connector 7.2
Same name and namespace in other branches
- 7.3 acquia_search/tests/acquia_search.test \AcquiaSearchWebTestCase::createAdminUser()
Creates an admin user.
1 call to AcquiaSearchWebTestCase::createAdminUser()
- AcquiaSearchWebTestCase::testEnvironmentUI in acquia_search/
tests/ acquia_search.test - Tests that the Acquia Search environment shows up in the interface and that administrators cannot delete it.
File
- acquia_search/
tests/ acquia_search.test, line 423 - Tests for the Acquia Search module.
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);
}