function PermissionFilterTest::setUp

Same name in other branches
  1. 10 core/modules/user/tests/src/FunctionalJavascript/PermissionFilterTest.php \Drupal\Tests\user\FunctionalJavascript\PermissionFilterTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/user/tests/src/FunctionalJavascript/PermissionFilterTest.php, line 29

Class

PermissionFilterTest
Tests the JavaScript functionality of the permission filter.

Namespace

Drupal\Tests\user\FunctionalJavascript

Code

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

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