function UserHalLoginHttpTest::testPasswordReset
Overrides UserLoginHttpTest::testPasswordReset
File
-
core/
modules/ hal/ tests/ src/ Functional/ user/ UserHalLoginHttpTest.php, line 45
Class
- UserHalLoginHttpTest
- Tests login and password reset via direct HTTP in hal_json format.
Namespace
Drupal\Tests\hal\Functional\userCode
public function testPasswordReset() {
// Create a user account.
$account = $this->drupalCreateUser();
$this->doTestPasswordReset('hal_json', $account);
$this->doTestGlobalLoginFloodControl('hal_json');
$this->doTestPerUserLoginFloodControl('hal_json');
$this->doTestLogoutCsrfProtection('hal_json');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.