You are here

public function AcquiaSearchWebTestCase::createAdminUser in Acquia Connector 7.3

Same name and namespace in other branches
  1. 7.2 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
Test Environment UI.

File

acquia_search/tests/acquia_search.test, line 487
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);
}