MDL-29318 login: Additional test for forgot_password_data_provider()

This commit is contained in:
Jun Pataleta
2019-03-29 13:32:59 +08:00
parent 8cb4579884
commit 06c88be18f
+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]']
],