You are here

function MultipleEmailAdminUserTestCase::setUp in Multiple E-mail Addresses 7

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

Implementation of setUp().

Overrides DrupalWebTestCase::setUp

File

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

Class

MultipleEmailAdminUserTestCase

Code

function setUp() {

  // Enable the Multiple E-mail module
  parent::setUp('multiple_email');

  // 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);
}