MDL-29318 login: Additional test for forgot_password_data_provider()
This commit is contained in:
@@ -271,6 +271,11 @@ class core_login_lib_testcase extends advanced_testcase {
|
||||
['email' => get_string('forgottenduplicate')],
|
||||
['allowaccountssameemail' => 1]
|
||||
],
|
||||
'Multiple accounts with the same email but with different case' => [
|
||||
['email' => '[email protected]'],
|
||||
['email' => get_string('forgottenduplicate')],
|
||||
['allowaccountssameemail' => 1]
|
||||
],
|
||||
'Non-existent email, username protection on' => [
|
||||
['email' => '[email protected]']
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user