You are here

protected function UserValidationTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/user/src/Tests/UserValidationTest.php, line 34
Contains \Drupal\user\Tests\UserValidationTest.

Class

UserValidationTest
Verify that user validity checks behave as designed.

Namespace

Drupal\user\Tests

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installSchema('system', array(
    'sequences',
  ));

  // Make sure that the default roles exist.
  $this
    ->installConfig(array(
    'user',
  ));
}