function ModuleUninstallFilterTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/FunctionalJavascript/ModuleUninstallFilterTest.php, line 29

Class

ModuleUninstallFilterTest
Tests the JavaScript functionality of the module uninstall 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.