diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-28 02:57:52 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-28 02:57:52 +0000 |
| commit | ef2674cfe13d2c425c5a3b312244c46f2531979d (patch) | |
| tree | c1707b454f635862c02b9e753f91e6600827ce05 /test | |
| parent | f5cdce849ce5e464403097d647e67c117da7bbb3 (diff) | |
minor fix to test/data
Diffstat (limited to 'test')
| -rw-r--r-- | test/data/exam.json | 57 | ||||
| -rw-r--r-- | test/data/user.json | 20 |
2 files changed, 54 insertions, 23 deletions
diff --git a/test/data/exam.json b/test/data/exam.json index ac9c0dc..156acf3 100644 --- a/test/data/exam.json +++ b/test/data/exam.json @@ -1,30 +1,61 @@ { "existing" : { "_id": { - "$oid": "578a429640e1bf7e118a6b7b" + "$oid": "579970bc1e75820010d2cb9b" }, - "course_code": "CSC148", - "year": 2010, - "term": "fall", - "type": "midterm", + "course_code": "CSC309", + "year": "2015", + "term": "Summer", + "type": "Final", "instructors": [ - "Faith Ellen", - "Tom F." + "Ahmed Shah Mashiyat" ], - "page_count": 20, - "questions_count": 2, + "page_count": "12", + "questions_count": "10", "questions_list": [ { "q_id": 1, - "question": "this is q1" + "question": "Question 1" }, { "q_id": 2, - "question": "this is q2" + "question": "Question 2" + }, + { + "q_id": 3, + "question": "Question 3" + }, + { + "q_id": 4, + "question": "Question 4" + }, + { + "q_id": 5, + "question": "Question 5" + }, + { + "q_id": 6, + "question": "Question 6" + }, + { + "q_id": 7, + "question": "Question 7" + }, + { + "q_id": 8, + "question": "Question 8" + }, + { + "q_id": 9, + "question": "Question 9" + }, + { + "q_id": 10, + "question": "Question 10" } ], - "upload_date": "some date", - "uploaded_by": "some user name" + "upload_date": "27-07-2016", + "uploaded_by": "admin" }, "nonExisting" : { "_id": { diff --git a/test/data/user.json b/test/data/user.json index b8ca88d..8164588 100644 --- a/test/data/user.json +++ b/test/data/user.json @@ -1,18 +1,18 @@ { "existingUser": { "_id": { - "$oid": "57950d18543bc2fe7681f28c" + "$oid": "579971d988a20f0010cb627b" }, - "email": "kumar@kumar.com", - "user_name": "kumar", - "f_name": "KUMAR", - "l_name": "DAMANI", - "university": "", - "department": "", - "answered": 1, + "email": "janetarzan@gmail.com", + "user_name": "janeT", + "f_name": "Jane", + "l_name": "Tarzan", + "university": "University of Toronto", + "department": "Computer Science", + "answered": 0, "messages": 0, - "comments": 4, - "phone_num": "", + "comments": 0, + "phone_num": "6478495738", "followers": [] }, |
