You are here

public function EntityUsageJavascriptTestBase::setUp in Entity Usage 8

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

Overrides BrowserTestBase::setUp

3 calls to EntityUsageJavascriptTestBase::setUp()
BatchUpdateTest::setUp in tests/src/FunctionalJavascript/BatchUpdateTest.php
ListControllerTest::setUp in tests/src/FunctionalJavascript/ListControllerTest.php
ViewsTest::setUp in tests/src/FunctionalJavascript/ViewsTest.php
3 methods override EntityUsageJavascriptTestBase::setUp()
BatchUpdateTest::setUp in tests/src/FunctionalJavascript/BatchUpdateTest.php
ListControllerTest::setUp in tests/src/FunctionalJavascript/ListControllerTest.php
ViewsTest::setUp in tests/src/FunctionalJavascript/ViewsTest.php

File

tests/src/FunctionalJavascript/EntityUsageJavascriptTestBase.php, line 33

Class

EntityUsageJavascriptTestBase
Base class for Entity Usage Javascript functional tests.

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',
  ]);
  $this
    ->drupalLogin($account);
}