You are here

protected function DeleteMultipleFormTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 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\Entity

Code

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);
}