You are here

protected function DeleteMultipleFormTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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() {
  parent::setUp();
  EntityTestBundle::create([
    'id' => 'default',
    'label' => 'Default',
  ])
    ->save();
  $this->account = $this
    ->drupalCreateUser([
    'administer entity_test content',
  ]);
  $this
    ->drupalLogin($this->account);
}