function ModuleFilterTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/FunctionalJavascript/ModuleFilterTest.php, line 30

Class

ModuleFilterTest
Tests the JavaScript functionality of the module filter.

Namespace

Drupal\Tests\system\FunctionalJavascript

Code

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

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