export const mockPoll1 = { "message": "your poll config", "poll": { "id": 1, "title": "citron ou orange", "customUrl": null, "description": "votre sorbert préféré", "creationDate": { "date": "2020-01-20 16:45:48.000000", "timezone_type": 3, "timezone": "Europe/Berlin" }, "expiracyDate": { "date": "2020-01-20 16:45:48.000000", "timezone_type": 3, "timezone": "Europe/Berlin" }, "owner": { "__initializer__": {}, "__cloner__": {}, "__isInitialized__": false }, "kind": "text", "allowedAnswers": [ "yes" ], "modificationPolicy": "nobody", "mailOnComment": null, "mailOnVote": true, "hideResults": null, "showResultEvenIfPasswords": null, "votes": {}, "stacksOfVotes": {}, "choices": {}, "comments": {}, "defaultExpiracyDaysFromNow": 60 }, "stacks_count": 2, "stacks": [ { "id": 1, "pseudo": "voting_people_TEST", "creation_date": { "date": "2020-01-20 16:45:48.000000", "timezone_type": 3, "timezone": "Europe/Berlin" }, "votes": [ { "id": 1, "vote_id": 1, "value": "yes", "choice_id": 1, "text": "orange" }, { "id": 1, "vote_id": 2, "value": "yes", "choice_id": 2, "text": null } ] }, { "id": 2, "pseudo": "voting_people_TEST", "creation_date": { "date": "2020-01-20 16:45:48.000000", "timezone_type": 3, "timezone": "Europe/Berlin" }, "votes": [ { "id": 2, "vote_id": 3, "value": "maybe", "choice_id": 1, "text": "orange" } ] } ], "choices_count": { "counts": { "1": { "yes": 1, "maybe": 1, "no": 0 }, "2": { "yes": 1, "maybe": 0, "no": 0 } }, "people": { "voting_people_TEST": "maybe" } }, "choices": [ { "id": 1, "date": { "date": "2020-01-20 16:45:48.000000", "timezone_type": 3, "timezone": "Europe/Berlin" }, "text": "orange", "url": null }, { "id": 2, "date": { "date": "2020-01-20 16:45:48.000000", "timezone_type": 3, "timezone": "Europe/Berlin" }, "text": "citron", "url": null } ], "comments": [], "comments_count": 0 };