You are here

public function IntegrationTest::setUp in Entity Usage 8.3

Same name and namespace in other branches
  1. 8.4 tests/src/FunctionalJavascript/IntegrationTest.php \Drupal\Tests\entity_usage\FunctionalJavascript\IntegrationTest::setUp()
  2. 8.2 tests/src/FunctionalJavascript/IntegrationTest.php \Drupal\Tests\entity_usage\FunctionalJavascript\IntegrationTest::setUp()

Overrides EntityUsageJavascriptTestBase::setUp

File

tests/src/FunctionalJavascript/IntegrationTest.php, line 37

Class

IntegrationTest
Basic functional tests for the usage tracking.

Namespace

Drupal\Tests\entity_usage\FunctionalJavascript

Code

public function setUp() {
  parent::setUp();
  $account = $this
    ->drupalCreateUser([
    'administer node fields',
    'administer node display',
    'administer nodes',
    'bypass node access',
    'use text format eu_test_text_format',
    'administer entity usage',
  ]);
  $this
    ->drupalLogin($account);
}