MDL-29318 login: Additional test for forgot_password_data_provider()

This commit is contained in:
Jun Pataleta
2019-03-29 13:33:55 +08:00
parent bdca601d03
commit 6abbe519d6
+5
View File
@@ -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]']
],