namespace Drupal\Tests\user\Kernel

Same name in other branches
  1. 9 Drupal\Tests\user\Kernel
  2. 8.9.x Drupal\Tests\user\Kernel
  3. 10 Drupal\Tests\user\Kernel
Object name File name Summary
LegacyUserTest core/modules/user/tests/src/Kernel/LegacyUserTest.php Tests deprecated user module functions.
ModulePermissionsLinkHelperTest core/modules/user/tests/src/Kernel/ModulePermissionsLinkHelperTest.php Tests the ModulePermissionsLinkHelper.
RoleValidationTest core/modules/user/tests/src/Kernel/RoleValidationTest.php Tests validation of user_role entities.
UserAccountFormFieldsTest core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php Verifies the field order in user account forms.
UserAccountFormPasswordResetTest core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php Verifies that the password reset behaves as expected with form elements.
UserActionConfigSchemaTest core/modules/user/tests/src/Kernel/UserActionConfigSchemaTest.php Tests that the config schema is valid when roles are added or removed.
UserAdminSettingsFormTest core/modules/user/tests/src/Kernel/UserAdminSettingsFormTest.php Configuration object user.mail and user.settings save test.
UserAnonymousActivateTest core/modules/user/tests/src/Kernel/UserAnonymousActivateTest.php Tests unblocking the anonymous user account.
UserConfigValidationTest core/modules/user/tests/src/Kernel/UserConfigValidationTest.php Tests validating user modules' configuration.
UserDeleteTest core/modules/user/tests/src/Kernel/UserDeleteTest.php Tests deleting of user accounts.
UserEntityLabelTest core/modules/user/tests/src/Kernel/UserEntityLabelTest.php Tests the label callback.
UserEntityReferenceTest core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php Tests the user reference field functionality.
UserEntityTest core/modules/user/tests/src/Kernel/UserEntityTest.php Tests the user entity class.
UserFieldsTest core/modules/user/tests/src/Kernel/UserFieldsTest.php Tests available user fields in twig.
UserInstallTest core/modules/user/tests/src/Kernel/UserInstallTest.php Tests user_install().
UserMailDefaultsTest core/modules/user/tests/src/Kernel/UserMailDefaultsTest.php Tests that user.mail default settings are parsed correctly.
UserMailNotifyTest core/modules/user/tests/src/Kernel/UserMailNotifyTest.php Tests _user_mail_notify() use of user.settings.notify.*.
UserNameValidatorTest core/modules/user/tests/src/Kernel/UserNameValidatorTest.php Verify that user validity checks behave as designed.
UserPassRehashTest core/modules/user/tests/src/Kernel/UserPassRehashTest.php Tests user_pass_rehash().
UserRoleDeleteTest core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php Tests the handling of user_role entity from the user module.
UserRoleEntityTest core/modules/user/tests/src/Kernel/UserRoleEntityTest.php @group user
@coversDefaultClass \Drupal\user\Entity\Role
UserSaveStatusTest core/modules/user/tests/src/Kernel/UserSaveStatusTest.php Tests user saving status.
UserSaveTest core/modules/user/tests/src/Kernel/UserSaveTest.php Tests account saving for arbitrary new uid.
UserValidationTest core/modules/user/tests/src/Kernel/UserValidationTest.php Verify that user validity checks behave as designed.
WhoIsOnlineBlockTest core/modules/user/tests/src/Kernel/WhoIsOnlineBlockTest.php Tests the Who's Online Block.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.