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