You are here

public function BatchUpdateTest::setUp in Entity Usage 8

Overrides EntityUsageJavascriptTestBase::setUp

File

tests/src/FunctionalJavascript/BatchUpdateTest.php, line 20

Class

BatchUpdateTest
Tests for the batch update functionality.

Namespace

Drupal\Tests\entity_usage\FunctionalJavascript

Code

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

  // Grant the logged-in user permission to access the batch update page.

  /** @var \Drupal\user\RoleInterface $role */
  $role = Role::load('authenticated');
  $this
    ->grantPermissions($role, [
    'perform batch updates entity usage',
  ]);
}