Skip to content

Commit

Permalink
Add tests for Administrator app
Browse files Browse the repository at this point in the history
  • Loading branch information
Monal5031 authored and anjali-dhanuka committed Jul 3, 2018
1 parent 1197a8a commit f87e8a4
Show file tree
Hide file tree
Showing 14 changed files with 958 additions and 1,068 deletions.
282 changes: 282 additions & 0 deletions vms/administrator/tests/test_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,282 @@
[
{
"volunteer": [
"uname1",
"uname1",
"email1@email.com",
"tom-fname",
"tom-lname",
"address",
"city",
"state",
"country",
"9999999999"
],
"event": [
"event-four",
"2050-05-24",
"2050-05-28"
],
"job": [
"jobOneInEventFour",
"2050-05-24",
"2050-05-24",
"jobOneFourDescription"
],
"shift": [
"2050-05-24",
"09:00",
"11:00",
"10"
],
"vshift": [
"09:30",
"10:00"
]
},
{
"volunteer": [
"uname2",
"uname2",
"email2@email.com",
"peter-fname",
"peter-lname",
"address",
"city",
"state",
"country",
"9999999999"
],
"event": [
"event-one",
"2050-05-24",
"2050-05-28"
],
"job": [
"jobOneInEventOne",
"2050-05-24",
"2050-05-24",
"jobOneOneDescription"
],
"shift": [
"2050-05-24",
"18:00",
"23:00",
"10"
],
"vshift": [
"19:00",
"20:00"
]
},
{
"volunteer": [
"uname3",
"uname3",
"email3@email.com",
"tom-fname",
"tom-lname",
"address",
"city",
"state",
"country",
"9999999999"
],
"event": [
"event-four",
"2050-05-24",
"2050-05-28"
],
"job": [
"jobTwoInEventFour",
"2050-05-24",
"2050-05-24",
"jobTwoFourDescription"
],
"shift": [
"2050-05-24",
"09:00",
"15:00",
"10"
],
"vshift": [
"10:00",
"11:30"
]
},
{
"volunteer": [
"uname4",
"uname4",
"email4@email.com",
"harry-fname",
"harry-lname",
"address",
"city",
"state",
"country",
"9999999999"
],
"event": [
"event-one",
"2050-05-24",
"2050-05-28"
],
"job": [
"jobTwoInEventOne",
"2050-05-24",
"2050-05-24",
"jobTwoOneDescription"
],
"shift": [
"2050-05-24",
"09:00",
"11:00",
"10"
],
"vshift": [
"09:00",
"10:00"
]
},
{
"volunteer": [
"uname5",
"uname5",
"email5@email.com",
"harry-fname",
"harry-lname",
"address",
"city",
"state",
"country",
"9999999999"
],
"event": [
"event-two",
"2050-05-24",
"2050-05-28"
],
"job": [
"jobOneInEventTwo",
"2050-05-24",
"2050-05-24",
"jobOneTwoDescription"
],
"shift": [
"2050-05-24",
"09:00",
"18:00",
"10"
],
"vshift": [
"12:00",
"15:00"
]
},
{
"volunteer": [
"uname6",
"uname6",
"email6@email.com",
"sherlock-fname",
"sherlock-lname",
"address",
"city",
"state",
"country",
"9999999999"
],
"event": [
"event-two",
"2050-05-24",
"2050-05-28"
],
"job": [
"jobOneInEventTwo",
"2050-05-24",
"2050-05-24",
"jobOneTwoDescription"
],
"shift": [
"2050-05-24",
"09:00",
"16:00",
"10"
],
"vshift": [
"12:00",
"14:00"
]
},
{
"volunteer": [
"uname7",
"uname7",
"email7@email.com",
"harvey-fname",
"harvey-lname",
"address",
"city",
"state",
"country",
"9999999999"
],
"event": [
"event-one",
"2050-05-24",
"2050-05-28"
],
"job": [
"jobThreeInEventOne",
"2050-05-24",
"2050-05-24",
"jobThreeOneDescription"
],
"shift": [
"2050-05-24",
"09:00",
"13:00",
"10"
],
"vshift": [
"12:00",
"12:30"
]
},
{
"volunteer": [
"uname8",
"uname8",
"email8@email.com",
"mike-fname",
"mike-lname",
"address",
"city",
"state",
"country",
"9999999999"
],
"event": [
"event-three",
"2050-05-24",
"2050-05-28"
],
"job": [
"jobOneInEventThree",
"2050-05-24",
"2050-05-24",
"jobOneThreeDescription"
],
"shift": [
"2050-05-24",
"01:00",
"10:00",
"10"
],
"vshift": [
"01:00",
"04:00"
]
}
]
Loading

0 comments on commit f87e8a4

Please sign in to comment.