function MultipleEmailUserTestCase::setUp in Multiple E-mail Addresses 6
Same name and namespace in other branches
- 7 multiple_email.test \MultipleEmailUserTestCase::setUp()
Implementation of setUp().
Overrides DrupalWebTestCase::setUp
File
- ./
multiple_email.test, line 24 - Tests for the Multiple E-mail module
Class
- MultipleEmailUserTestCase
- @file Tests for the Multiple E-mail module
Code
function setUp() {
// Enable the Multiple User module
parent::setUp('multiple_email');
// Create a user allowed to have multiple emails.
$this->user = $this
->drupalCreateUser(array(
'use multiple emails',
));
$this
->drupalLogin($this->user);
}