function FilterEntityReferenceTest::setUp

Same name in this branch
  1. 11.x core/modules/views/tests/src/Kernel/Handler/FilterEntityReferenceTest.php \Drupal\Tests\views\Kernel\Handler\FilterEntityReferenceTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/views_ui/tests/src/FunctionalJavascript/FilterEntityReferenceTest.php, line 46

Class

FilterEntityReferenceTest
Tests views creation wizard.

Namespace

Drupal\Tests\views_ui\FunctionalJavascript

Code

public function setUp() : void {
    parent::setUp();
    $admin_user = $this->drupalCreateUser([
        'administer views',
    ]);
    $this->drupalLogin($admin_user);
    $this->setUpEntityTypes();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.