You are here

protected function UserInstallTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/src/Tests/UserInstallTest.php \Drupal\user\Tests\UserInstallTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/user/src/Tests/UserInstallTest.php, line 29
Contains \Drupal\user\Tests\UserInstallTest.

Class

UserInstallTest
Tests user_install().

Namespace

Drupal\user\Tests

Code

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