protected static property UserValidationTest::$modules in Drupal 9
Same name and namespace in other branches
- 8 core/modules/user/tests/src/Kernel/UserValidationTest.php \Drupal\Tests\user\Kernel\UserValidationTest::modules
 - 10 core/modules/user/tests/src/Kernel/UserValidationTest.php \Drupal\Tests\user\Kernel\UserValidationTest::modules
 
Modules to enable.
Type: array
Overrides KernelTestBase::$modules
File
- core/
modules/ user/ tests/ src/ Kernel/ UserValidationTest.php, line 25  
Class
- UserValidationTest
 - Verify that user validity checks behave as designed.
 
Namespace
Drupal\Tests\user\KernelCode
protected static $modules = [
  'field',
  'user',
  'system',
];