mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 00:42:54 +02:00
MDL-29317 gradeimport_csv: Tests for case-insensitivity
This commit is contained in:
parent
0920f35ed9
commit
d65a927694
@ -252,6 +252,9 @@ Bobby,Bunce,,"Moodle HQ","Rock on!",student5@example.com,75.00,,75.00,{exportdat
|
||||
'Fetch by email' => [
|
||||
'email', 's1@example.com', true
|
||||
],
|
||||
'Fetch by email, different case' => [
|
||||
'email', 'S1@EXAMPLE.COM', true
|
||||
],
|
||||
'Fetch data using a non-existent email' => [
|
||||
'email', 's2@example.com', false
|
||||
],
|
||||
@ -267,6 +270,9 @@ Bobby,Bunce,,"Moodle HQ","Rock on!",student5@example.com,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
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user