protected function MimeMailFormatHelperTest::setUp in Mime Mail 8
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ MimeMailFormatHelperTest.php, line 53
Class
- MimeMailFormatHelperTest
- Tests that Mime Mail utility functions work properly.
Namespace
Drupal\Tests\mimemail\KernelCode
protected function setUp() {
parent::setUp();
// Sets up an anonymous and two authenticated users.
$this->adminUser = $this
->setUpCurrentUser([
'uid' => 1,
'name' => 'username with spaces',
'mail' => 'admin@test.example.com',
]);
$this->userA = $this
->createUser([], 'CapitaL', FALSE, [
'mail' => 'namea@example.com',
]);
$this->userB = $this
->createUser([], '', FALSE, [
'mail' => 'nameb@example.com',
]);
}