function UserRequirementsTest::setUp
Same name and namespace in other branches
- 11.x core/modules/user/tests/src/Kernel/UserRequirementsTest.php \Drupal\Tests\user\Kernel\UserRequirementsTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ user/ tests/ src/ Kernel/ UserRequirementsTest.php, line 37
Class
- UserRequirementsTest
- Tests user_requirements().
Namespace
Drupal\Tests\user\KernelCode
protected function setUp() : void {
parent::setUp();
$this->moduleHandler = $this->container
->get('module_handler');
$this->installEntitySchema('user');
include_once $this->root . '/core/includes/install.inc';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.