protected function StringFieldTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/field/tests/src/Functional/String/StringFieldTest.php \Drupal\Tests\field\Functional\String\StringFieldTest::setUp()
Overrides BrowserTestBase::setUp
1 call to StringFieldTest::setUp()
- TextFieldTest::setUp in core/
modules/ text/ tests/ src/ Functional/ TextFieldTest.php
1 method overrides StringFieldTest::setUp()
- TextFieldTest::setUp in core/
modules/ text/ tests/ src/ Functional/ TextFieldTest.php
File
- core/
modules/ field/ tests/ src/ Functional/ String/ StringFieldTest.php, line 37
Class
- StringFieldTest
- Tests the creation of string fields.
Namespace
Drupal\Tests\field\Functional\StringCode
protected function setUp() : void {
parent::setUp();
$this->webUser = $this
->drupalCreateUser([
'view test entity',
'administer entity_test content',
'access content',
]);
$this
->drupalLogin($this->webUser);
}