MDL-29317 gradeimport_csv: Tests for case-insensitivity

This commit is contained in:
Jun Pataleta
2019-03-29 13:30:06 +08:00
parent d28abb632d
commit 2ff2274ffc
@@ -252,6 +252,9 @@ Bobby,Bunce,,"Moodle HQ","Rock on!",[email protected],75.00,,75.00,{exportdat
'Fetch by email' => [
'email', '[email protected]', true
],
'Fetch by email, different case' => [
'email', '[email protected]', true
],
'Fetch data using a non-existent email' => [
'email', '[email protected]', false
],
@@ -267,6 +270,9 @@ Bobby,Bunce,,"Moodle HQ","Rock on!",[email protected],75.00,,75.00,{exportdat
'Fetch data using a valid username' => [
'username', 's1', true
],
'Fetch data using a valid username, different case' => [
'username', 'S1', true
],
'Fetch data using an invalid username' => [
'username', 's2', false
],