protected function EntityReferenceIntegrationTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php \Drupal\Tests\field\Functional\EntityReference\EntityReferenceIntegrationTest::setUp()
- 9 core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php \Drupal\Tests\field\Functional\EntityReference\EntityReferenceIntegrationTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceIntegrationTest.php, line 58
Class
- EntityReferenceIntegrationTest
- Tests various Entity reference UI components.
Namespace
Drupal\Tests\field\Functional\EntityReferenceCode
protected function setUp() : void {
parent::setUp();
// Create a test user.
$web_user = $this
->drupalCreateUser([
'administer entity_test content',
'administer entity_test fields',
'view test entity',
]);
$this
->drupalLogin($web_user);
}