namespace Drupal\Tests\user\Unit

Same name in other branches
  1. 11.x Drupal\Tests\user\Unit
  2. 9 Drupal\Tests\user\Unit
  3. 8.9.x Drupal\Tests\user\Unit
Object name File name Summary
PermissionAccessCheckTest core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php @coversDefaultClass \Drupal\user\Access\PermissionAccessCheck
@group Routing
@group Access
PermissionHandlerTest core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests the permission handler.
TestPermissionCallbacks core/modules/user/tests/src/Unit/PermissionHandlerTest.php
TestTranslationManager core/modules/user/tests/src/Unit/PermissionHandlerTest.php Implements a translation manager in tests.
ToolbarLinkBuilderTest core/modules/user/tests/src/Unit/ToolbarLinkBuilderTest.php Tests user's ToolbarLinkBuilder.
UserAccessControlHandlerTest core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php Tests the user access controller.
UserAuthTest core/modules/user/tests/src/Unit/UserAuthTest.php @coversDefaultClass \Drupal\user\UserAuth
@group user
UserNameItemTest core/modules/user/tests/src/Unit/UserNameItemTest.php Defines a test for the UserNameItem field-type.
UserRegistrationResourceTest core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php Tests User Registration REST resource.

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