You are here

public function LocalTaskEntityTest::setUp in Entity Construction Kit (ECK) 8

Overrides FunctionalTestBase::setUp

File

tests/src/Functional/LocalTaskEntityTest.php, line 40

Class

LocalTaskEntityTest
Tests the local task links in entities.

Namespace

Drupal\Tests\eck\Functional

Code

public function setUp() {
  parent::setUp();
  $this->entityTypeInfo = $this
    ->createEntityType();
  $this->bundleInfo = $this
    ->createEntityBundle($this->entityTypeInfo['id']);
  $this
    ->drupalPlaceBlock('local_tasks_block');
}