protected function DeleteMultipleFormTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Entity/DeleteMultipleFormTest.php \Drupal\FunctionalTests\Entity\DeleteMultipleFormTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
tests/ Drupal/ FunctionalTests/ Entity/ DeleteMultipleFormTest.php, line 42
Class
- DeleteMultipleFormTest
- Tests the delete multiple confirmation form.
Namespace
Drupal\FunctionalTests\EntityCode
protected function setUp() : void {
parent::setUp();
EntityTestBundle::create([
'id' => 'default',
'label' => 'Default',
])
->save();
$this->account = $this
->drupalCreateUser([
'administer entity_test content',
]);
$this
->drupalLogin($this->account);
}