You are here

protected function UserInstallTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/tests/src/Kernel/UserInstallTest.php \Drupal\Tests\user\Kernel\UserInstallTest::setUp()
  2. 9 core/modules/user/tests/src/Kernel/UserInstallTest.php \Drupal\Tests\user\Kernel\UserInstallTest::setUp()

File

core/modules/user/tests/src/Kernel/UserInstallTest.php, line 24

Class

UserInstallTest
Tests user_install().

Namespace

Drupal\Tests\user\Kernel

Code

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