protected function LateInstallTest::setUp in Multiple E-mail Addresses 2.x
File
- src/
Tests/ LateInstallTest.php, line 27 - Definition of Drupal\multiple_email\Tests\LateInstallTest.
Class
- LateInstallTest
- Test module being installed after users are already created.
Namespace
Drupal\multiple_email\TestsCode
protected function setUp() {
// Set up basic Drupal install.
parent::setUp();
// Create a user allowed to have multiple emails.
$this->adminuser = $this
->drupalCreateUser(array(
'administer users',
'administer permissions',
'administer modules',
'administer site configuration',
));
$this->emailuser = $this
->drupalCreateUser(array(
'access content',
));
$this->basicuser = $this
->drupalCreateUser();
// Log in as adminuser
$this
->drupalLogin($this->adminuser);
}