UserRecoverPasswordControllerTest UserRecoverPasswordControllerTest(
$methodName
)
|
|
Parameters:
Usernames with missing email are treated just like regular usernames to avoid automated phishing attempts to get usernames.
Invalid usernames are treated just like regular usernames to avoid automated phishing attempts to get usernames.
void testMissingInputs(
)
|
|
Bogus user/password, and an error from the plugin. Plugin set to halt on failure so we shouldn't even try to recover which means we won't see the invalid user error.
Valid user, 2 plugins with errors the first plugin allows the flow to continue. We should see the error from both plugins.
Valid user, 2 plugins with an error from the first plugin, and the first plugin stops the flow from continuing. We should see the error from only the first plugin, and not the invalid password error.
Correct password, but an error from the plugin
void testRecoverPassword(
)
|
|
void testRequestTooSoon(
)
|
|
array _setAdminEmail(
string
$email
)
|
|
Set the email address for 'admin'
Parameters:
string |
$email: |
email address |
API Tags:
Return: | GalleryStatus string previous email address |