protected function EntityListBuilderTest::setUp in Drupal 9
Same name in this branch
- 9 core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php \Drupal\Tests\Core\Entity\EntityListBuilderTest::setUp()
- 9 core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php \Drupal\Tests\system\Functional\Entity\EntityListBuilderTest::setUp()
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php \Drupal\Tests\system\Functional\Entity\EntityListBuilderTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityListBuilderTest.php, line 29
Class
- EntityListBuilderTest
- Tests entity list builder functionality.
Namespace
Drupal\Tests\system\Functional\EntityCode
protected function setUp() : void {
parent::setUp();
// Create and log in user.
$this->webUser = $this
->drupalCreateUser([
'administer entity_test content',
]);
$this
->drupalLogin($this->webUser);
}