aboutsummaryrefslogtreecommitdiff
path: root/test/data/exam.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/exam.json')
-rw-r--r--test/data/exam.json60
1 files changed, 60 insertions, 0 deletions
diff --git a/test/data/exam.json b/test/data/exam.json
new file mode 100644
index 0000000..0504679
--- /dev/null
+++ b/test/data/exam.json
@@ -0,0 +1,60 @@
+{
+ "existing" : {
+ "_id": {
+ "$oid": "57917d4d2a73c0224fb6e763"
+ },
+ "course_code": "CSC373",
+ "year": "2016",
+ "term": "Midterm",
+ "type": "Winter",
+ "instructors": [
+ "Robert Dane"
+ ],
+ "page_count": "20",
+ "questions_count": "2",
+ "questions_list": [
+ {
+ "q_id": 1,
+ "question": "Question 1"
+ },
+ {
+ "q_id": 2,
+ "question": "Question 2"
+ }
+ ],
+ "upload_date": "2005-06-10",
+ "uploaded_by": [
+ "humair",
+ ""
+ ]
+ },
+ "nonExisting" : {
+ "_id": {
+ "$oid": "999999999999999999999999"
+ },
+ "course_code": "CSC373",
+ "year": "2016",
+ "term": "Midterm",
+ "type": "Winter",
+ "instructors": [
+ "Robert Dane"
+ ],
+ "page_count": "20",
+ "questions_count": "2",
+ "questions_list": [
+ {
+ "q_id": 1,
+ "question": "Question 1"
+ },
+ {
+ "q_id": 2,
+ "question": "Question 2"
+ }
+ ],
+ "upload_date": "2005-06-10",
+ "uploaded_by": [
+ "humair",
+ ""
+ ]
+ }
+} \ No newline at end of file