function LinkFieldFormStatesTest::setUp

Same name in other branches
  1. 10 core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php \Drupal\Tests\link\FunctionalJavascript\LinkFieldFormStatesTest::setUp()
  2. 11.x core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php \Drupal\Tests\link\FunctionalJavascript\LinkFieldFormStatesTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/link/tests/src/FunctionalJavascript/LinkFieldFormStatesTest.php, line 34

Class

LinkFieldFormStatesTest
Tests link field form states functionality.

Namespace

Drupal\Tests\link\FunctionalJavascript

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.