You are here

protected function AdminUserTest::setUp in Multiple E-mail Addresses 2.x

File

src/Tests/AdminUserTest.php, line 26
Definition of Drupal\multiple_email\Tests\AdminUserTest.

Class

AdminUserTest
Test admin user interactions with the module.

Namespace

Drupal\multiple_email\Tests

Code

protected function setUp() {

  // Set up basic Drupal install.
  parent::setUp();

  // Create a user allowed to administer users.
  $this->adminuser = $this
    ->drupalCreateUser(array(
    'administer users',
    'administer multiple emails',
  ));
  $this->basicuser = $this
    ->drupalCreateUser();
  $this
    ->drupalLogin($this->adminuser);
}