Skip to content

Commit

Permalink
Add private dojo to e2e fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
Wardormeur committed Jun 13, 2017
1 parent 00431de commit c7cd483
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 0 deletions.
101 changes: 101 additions & 0 deletions test/fixtures/e2e/dojo-leads.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,4 +491,105 @@
"coderDojoReference": "Family/Friends"
}
}
}, {
"email": "champion3@example.com",
"currentStep": 5,
"completed": false,
"converted": false,
"application": {
"championDetails": {
"email": "champion3@example.com",
"name": "Champion3",
"dateOfBirth": "1957-11-13T23:00:00.000Z",
"phone": "393345678910",
"country": {
"countryName": "France",
"countryNumber": 250,
"continent": "EU",
"alpha2": "FR",
"alpha3": "FRA",
"$$hashKey": "object:212"
},
"county": {},
"state": {},
"city": {},
"place": {
"nameWithHierarchy": "Lyon",
"$$hashKey": "object:966"
},
"countryName": "France",
"countryNumber": 250,
"continent": "EU",
"alpha2": "FR",
"alpha3": "FRA",
"address1": "24 Rue Pizay",
"projects": "Lorem Ipsum",
"coderDojoReference": "Other"
},
"setupYourDojo": {
"findTechnicalMentors": true,
"findTechnicalMentorsText": "1",
"findNonTechnicalMentors": true,
"findNonTechnicalMentorsText": "1",
"backgroundCheck": false,
"backgroundCheckText": "",
"locateVenue": true,
"locateVenueText": "24 Rue Pizay",
"ensureHealthAndSafety": true,
"ensureHealthAndSafetyText": "ok",
"ensureInsuranceCover": true,
"ensureInsuranceCoverText": "ok",
"setDojoDateAndTime": true,
"setDojoDateAndTimeText": "Soon",
"planContent": true,
"setupTicketingAndRegistration": true,
"setDojoEmailAddress": true,
"setupSocialMedia": false,
"embodyCoderDojoTao": true,
"onlineSafetyBestPractice": false,
"onlineSafetyBestPracticeText": "",
"dataProtectionRegulated": false,
"dataProtectionRegulatedText": "",
"diversityRespected": true,
"diversityRespectedText": "",
"engageCoderDojoMovement": true,
"engageCoderDojoMovementText": ""
},
"dojoListing": {
"stage": 2,
"notes": "<p>Lorem Ipsum</p>\n",
"name": "Lyon",
"time": "Every X, 10:00 -13:00",
"country": {
"countryName": "France",
"countryNumber": 250,
"continent": "EU",
"alpha2": "FR",
"alpha3": "FRA"
},
"placeName": "Lyon",
"county": {},
"state": {},
"city": {},
"place": {
"nameWithHierarchy": "Lyon"
},
"countryName": "France",
"countryNumber": 380,
"continent": "EU",
"alpha2": "FR",
"alpha3": "FRA",
"email": "privateDojo1@example.com",
"address1": "24 Rue Pizay, Lyon, France",
"needMentors": 1,
"coordinates": "45.76711, 4.83662",
"mailingList": 1,
"supporterImage": null,
"website": null,
"twitter": null,
"googleGroup": null,
"private": 0,
"creatorEmail": "champion1@example.com"
}
}
}]
29 changes: 29 additions & 0 deletions test/fixtures/e2e/dojos.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,34 @@
"website": "https://www.google.com",
"verified": 1,
"stage": 2
},
{
"admin1Code": 24,
"admin1Name": "dubido",
"alpha2": "FR",
"alpha3": "FRA",
"continent": "EU",
"country": {"countryName":"France","alpha2":"FR"},
"countryName": "France",
"countryNumber": 250,
"deleted": 0,
"email": "privateDojo1@example.com",
"mailingList": 0,
"mysqlDojoId": 1331,
"name": "privateDojo1",
"needMentors": 1,
"notes": "Bring laptop.",
"place": {"nameWithHierarchy":"Lyon"},
"coordinates": "45.76711, 4.83662",
"place_geoname_id": 5101125,
"place_name": "45.76711, 4.83662",
"address1": "24 Rue Pizay, Lyon, France",
"private": 1,
"state": {},
"time": "Saturdays, once a month, 2-4",
"twitter": "persontwitter",
"website": "https://www.google.com",
"verified": 1,
"stage": 2
}
]

0 comments on commit c7cd483

Please sign in to comment.