function ExperimentalModuleTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/Functional/Module/ExperimentalModuleTest.php, line 30

Class

ExperimentalModuleTest
Tests the installation of modules.

Namespace

Drupal\Tests\system\Functional\Module

Code

protected function setUp() {
    parent::setUp();
    $this->adminUser = $this->drupalCreateUser([
        'access administration pages',
        'administer modules',
    ]);
    $this->drupalLogin($this->adminUser);
}

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