You are here

protected function EntityLocalActionTest::setUp in Entity API 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/Menu/EntityLocalActionTest.php, line 31

Class

EntityLocalActionTest
Tests that entity local actions are generated correctly.

Namespace

Drupal\Tests\entity\Functional\Menu

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalPlaceBlock('local_actions_block');
  $account = $this
    ->drupalCreateUser([
    'administer entity_test_enhanced',
  ]);
  $this
    ->drupalLogin($account);
}