You are here

protected function BulkFormEntityListBuilderTest::setUp in Entity API 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/BulkFormEntityListBuilderTest.php, line 55

Class

BulkFormEntityListBuilderTest
Tests the bulk-form list builder.

Namespace

Drupal\Tests\entity\Functional

Code

protected function setUp() {
  parent::setUp();

  /* @var \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager */
  $entity_type_manager = $this->container
    ->get('entity_type.manager');
  $this->storage = $entity_type_manager
    ->getStorage('entity_test_enhanced_with_owner');
  $this
    ->placeBlock('page_title_block');
  $this
    ->placeBlock('local_tasks_block');
  $account = $this
    ->drupalCreateUser($this->basePermissions);
  $this
    ->drupalLogin($account);
}