function UserRequirementsTest::setUp

Overrides KernelTestBase::setUp

File

core/modules/user/tests/src/Kernel/UserRequirementsTest.php, line 27

Class

UserRequirementsTest
Tests user_requirements().

Namespace

Drupal\Tests\user\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->container
        ->get('module_handler')
        ->loadInclude('user', 'install');
    $this->installEntitySchema('user');
}

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