protected function DeleteMultipleFormTest::setUp in Entity API 8.0
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ DeleteMultipleFormTest.php, line 40 - Contains \Drupal\Tests\entity\Functional\DeleteMultipleFormTest.
Class
- DeleteMultipleFormTest
- Tests the delete multiple confirmation form.
Namespace
Drupal\Tests\entity\FunctionalCode
protected function setUp() {
parent::setUp();
EnhancedEntityBundle::create([
'id' => 'default',
'label' => 'Default',
])
->save();
$this->account = $this
->drupalCreateUser([
'administer entity_test_enhanced',
]);
$this
->drupalLogin($this->account);
}