protected function EntityListBuilderTest::setUp in Drupal 8
Same name in this branch
- 8 core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php \Drupal\Tests\Core\Entity\EntityListBuilderTest::setUp()
- 8 core/modules/system/tests/src/Functional/Entity/EntityListBuilderTest.php \Drupal\Tests\system\Functional\Entity\EntityListBuilderTest::setUp()
Same name and namespace in other branches
- 9 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() {
parent::setUp();
// Create and log in user.
$this->webUser = $this
->drupalCreateUser([
'administer entity_test content',
]);
$this
->drupalLogin($this->webUser);
}