You are here

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

File

src/Tests/BasicUserTest.php, line 27
Definition of Drupal\multiple_email\Tests\BasicUserTest.

Class

BasicUserTest
Test basic user registration without 'use multiple email permissions' and its 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 have multiple emails.
  $this->user = $this
    ->drupalCreateUser();
  $this
    ->drupalLogin($this->user);
}