summaryrefslogtreecommitdiff
path: root/yaksh/fixtures
diff options
context:
space:
mode:
authorKing2020-08-27 19:52:45 +0530
committerGitHub2020-08-27 19:52:45 +0530
commit28ae003e080dcc81f1547cc7bb581293edef9da8 (patch)
tree913132dbd874c17a8739936383c0ce1202f64d51 /yaksh/fixtures
parentf4bf8fd68fa8b9aea29a0a688409f44288494cda (diff)
parent570b141055f9baa27c539842b14756838949ba60 (diff)
downloadonline_test-28ae003e080dcc81f1547cc7bb581293edef9da8.tar.gz
online_test-28ae003e080dcc81f1547cc7bb581293edef9da8.tar.bz2
online_test-28ae003e080dcc81f1547cc7bb581293edef9da8.zip
Merge pull request #744 from prathamesh920/fix-upload-users
Avoid duplicate user entry with same email address during upload.
Diffstat (limited to 'yaksh/fixtures')
-rw-r--r--yaksh/fixtures/user_existing_email.csv2
-rw-r--r--yaksh/fixtures/users_add_update_reject.csv4
2 files changed, 4 insertions, 2 deletions
diff --git a/yaksh/fixtures/user_existing_email.csv b/yaksh/fixtures/user_existing_email.csv
new file mode 100644
index 0000000..ee5fcd0
--- /dev/null
+++ b/yaksh/fixtures/user_existing_email.csv
@@ -0,0 +1,2 @@
+firstname, lastname, email
+abc, abc, demo_student@test.com
diff --git a/yaksh/fixtures/users_add_update_reject.csv b/yaksh/fixtures/users_add_update_reject.csv
index 1990179..2b8fcf6 100644
--- a/yaksh/fixtures/users_add_update_reject.csv
+++ b/yaksh/fixtures/users_add_update_reject.csv
@@ -1,4 +1,4 @@
firstname, lastname, email, institute,department,roll_no,remove,password,username
test, test, test@g.com, TEST, TEST, TEST101, FALSE, TEST, test
-test2, test, test@g.com, TEST, TEST, TEST101, FALSE, TEST, test2
-test2, test, test@g.com, TEST, TEST, TEST101, TRUE, TEST, test2
+test2, test, test2@g.com, TEST, TEST, TEST101, FALSE, TEST, test2
+test2, test, test2@g.com, TEST, TEST, TEST101, TRUE, TEST, test2