You are here

function MultipleEmailBasicUserTestCase::setUp in Multiple E-mail Addresses 6

Same name and namespace in other branches
  1. 7 multiple_email.test \MultipleEmailBasicUserTestCase::setUp()

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

./multiple_email.test, line 142
Tests for the Multiple E-mail module

Class

MultipleEmailBasicUserTestCase

Code

function setUp() {

  // Enable the Multiple User module
  parent::setUp('multiple_email');

  // Create a user allowed to have multiple emails.
  $this->user = $this
    ->drupalCreateUser();
  $this
    ->drupalLogin($this->user);
}