public function AcquiaConnectorSearchTest::createAdminUser in Acquia Connector 8
Creates an admin user.
1 call to AcquiaConnectorSearchTest::createAdminUser()
- AcquiaConnectorSearchTest::connect in acquia_search/
tests/ src/ Functional/ AcquiaConnectorSearchTest.php - Connect.
File
- acquia_search/
tests/ src/ Functional/ AcquiaConnectorSearchTest.php, line 127
Class
- AcquiaConnectorSearchTest
- Tests the functionality of the Acquia Search module.
Namespace
Drupal\Tests\acquia_search\FunctionalCode
public function createAdminUser() {
$permissions = [
'administer site configuration',
'access administration pages',
'access toolbar',
'administer search_api',
];
return $this
->drupalCreateUser($permissions);
}