You are here

protected function EmailFieldTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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() {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'view test entity',
    'administer entity_test content',
    'administer content types',
  ]));
}