function UserInstallTest::setUp
Same name in other branches
- 9 core/modules/user/tests/src/Kernel/UserInstallTest.php \Drupal\Tests\user\Kernel\UserInstallTest::setUp()
- 10 core/modules/user/tests/src/Kernel/UserInstallTest.php \Drupal\Tests\user\Kernel\UserInstallTest::setUp()
- 11.x core/modules/user/tests/src/Kernel/UserInstallTest.php \Drupal\Tests\user\Kernel\UserInstallTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ user/ tests/ src/ Kernel/ UserInstallTest.php, line 24
Class
- UserInstallTest
- Tests user_install().
Namespace
Drupal\Tests\user\KernelCode
protected function setUp() {
parent::setUp();
$this->container
->get('module_handler')
->loadInclude('user', 'install');
$this->installEntitySchema('user');
user_install();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.