function UserPasswordResetTestCase::testUserDirectLogin in Drupal 7
Test direct login link that bypasses the password reset form.
File
- modules/
user/ user.test, line 743 - Tests for user.module.
Class
- UserPasswordResetTestCase
- Tests resetting a user password.
Code
function testUserDirectLogin() {
$this
->testUserPasswordReset(TRUE);
$this
->testUserPasswordResetLoggedIn(TRUE);
}