8 calls to user_load_by_name() in Drupal 9
- ContactPersonalTest::checkContactAccess in core/
modules/ contact/ tests/ src/ Functional/ ContactPersonalTest.php - Creates a user and then checks contact form access.
- DbLogTest::doUser in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Generates and then verifies some user events.
- PathProcessor::processInbound in core/
modules/ system/ tests/ modules/ url_alter_test/ src/ PathProcessor.php - Processes the inbound path.
- PathProcessorTest::processInbound in core/
modules/ system/ tests/ modules/ url_alter_test/ src/ PathProcessorTest.php - Processes the inbound path.
- RestRegisterUserTest::registerUser in core/
modules/ user/ tests/ src/ Functional/ RestRegisterUserTest.php - Registers a user via REST resource.
- UserCreateTest::testUserAdd in core/
modules/ user/ tests/ src/ Functional/ UserCreateTest.php - Create a user through the administration interface and ensure that it displays in the user list.
- UserLanguageCreationTest::testLocalUserCreation in core/
modules/ user/ tests/ src/ Functional/ UserLanguageCreationTest.php - Functional test for language handling during user creation.
- UserRolesAssignmentTest::testCreateUserWithRole in core/
modules/ user/ tests/ src/ Functional/ UserRolesAssignmentTest.php - Tests that when creating a user the role can be assigned. And that it can be removed again.