protected function UserValidationTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/tests/src/Kernel/UserValidationTest.php \Drupal\Tests\user\Kernel\UserValidationTest::setUp()
Overrides KernelTestBase::setUp
File
- core/modules/ user/ tests/ src/ Kernel/ UserValidationTest.php, line 30 
Class
- UserValidationTest
- Verify that user validity checks behave as designed.
Namespace
Drupal\Tests\user\KernelCode
protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installSchema('system', [
    'sequences',
  ]);
  // Make sure that the default roles exist.
  $this
    ->installConfig([
    'user',
  ]);
}