MDL-29317 gradeimport_csv: Tests for case-insensitivity
This commit is contained in:
@@ -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
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user