You are here

protected function EmailFieldTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/field/tests/src/Functional/Email/EmailFieldTest.php \Drupal\Tests\field\Functional\Email\EmailFieldTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/field/tests/src/Functional/Email/EmailFieldTest.php, line 43

Class

EmailFieldTest
Tests email field functionality.

Namespace

Drupal\Tests\field\Functional\Email

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'view test entity',
    'administer entity_test content',
    'administer content types',
  ]));
}