function MissingCheckedRequirementsTest::setUp

Overrides WebTestBase::setUp

File

core/modules/simpletest/src/Tests/MissingCheckedRequirementsTest.php, line 23

Class

MissingCheckedRequirementsTest
Tests a test case with missing requirements.

Namespace

Drupal\simpletest\Tests

Code

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

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