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