aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_poll_illegal_vote.yaml')
-rw-r--r--tests/cassettes/test_poll_illegal_vote.yaml30
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/cassettes/test_poll_illegal_vote.yaml b/tests/cassettes/test_poll_illegal_vote.yaml
index 5428a87..cbb4bab 100644
--- a/tests/cassettes/test_poll_illegal_vote.yaml
+++ b/tests/cassettes/test_poll_illegal_vote.yaml
@@ -21,8 +21,8 @@ interactions:
21 uri: http://localhost:3000/api/v1/statuses 21 uri: http://localhost:3000/api/v1/statuses
22 response: 22 response:
23 body: 23 body:
24 string: '{"id":"109367697463605105","created_at":"2022-11-19T00:43:45.850Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109367697463605105","url":"http://localhost:3000/@admin/109367697463605105","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003enice\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py 24 string: '{"id":"109383670691367785","created_at":"2022-11-21T20:25:57.968Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109383670691367785","url":"http://localhost:3000/@admin/109383670691367785","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003enice\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
25 test suite","website":null},"account":{"id":"109367691027217373","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2022-11-19","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":{"id":"2","expires_at":"2022-11-19T00:48:45.848Z","expired":false,"multiple":false,"votes_count":0,"voters_count":0,"voted":true,"own_votes":[],"options":[{"title":"four 25 test suite","website":null},"account":{"id":"109383664751443295","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":{"id":"2","expires_at":"2022-11-21T20:30:57.964Z","expired":false,"multiple":false,"votes_count":0,"voters_count":0,"voted":true,"own_votes":[],"options":[{"title":"four
26 twenty","votes_count":0},{"title":"sixty-nine","votes_count":0}],"emojis":[]}}' 26 twenty","votes_count":0},{"title":"sixty-nine","votes_count":0}],"emojis":[]}}'
27 headers: 27 headers:
28 Cache-Control: 28 Cache-Control:
@@ -30,7 +30,7 @@ interactions:
30 Content-Security-Policy: 30 Content-Security-Policy:
31 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 31 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
32 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 32 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
33 style-src ''self'' http://localhost:3000 ''nonce-Xnj9rADgBo5DveMfFo96sw==''; 33 style-src ''self'' http://localhost:3000 ''nonce-BpdP7sQdnIOS0RXl5JyaPg=='';
34 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 34 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
35 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 35 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
36 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 36 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -40,7 +40,7 @@ interactions:
40 Content-Type: 40 Content-Type:
41 - application/json; charset=utf-8 41 - application/json; charset=utf-8
42 ETag: 42 ETag:
43 - W/"cb0ff65d84dfed8fb1f9f259c824878e" 43 - W/"075d6e44ad0a0e67a098b433d9ce290c"
44 Referrer-Policy: 44 Referrer-Policy:
45 - strict-origin-when-cross-origin 45 - strict-origin-when-cross-origin
46 Transfer-Encoding: 46 Transfer-Encoding:
@@ -60,11 +60,11 @@ interactions:
60 X-RateLimit-Remaining: 60 X-RateLimit-Remaining:
61 - '294' 61 - '294'
62 X-RateLimit-Reset: 62 X-RateLimit-Reset:
63 - '2022-11-19T03:00:00.873288Z' 63 - '2022-11-21T21:00:00.999025Z'
64 X-Request-Id: 64 X-Request-Id:
65 - a0958e1e-9d15-4f85-9432-0ac596704c3a 65 - c9dc969f-697a-400b-89c2-285cad3a26ff
66 X-Runtime: 66 X-Runtime:
67 - '0.038303' 67 - '0.052807'
68 X-XSS-Protection: 68 X-XSS-Protection:
69 - 1; mode=block 69 - 1; mode=block
70 status: 70 status:
@@ -91,7 +91,7 @@ interactions:
91 uri: http://localhost:3000/api/v1/polls/2/votes 91 uri: http://localhost:3000/api/v1/polls/2/votes
92 response: 92 response:
93 body: 93 body:
94 string: '{"id":"2","expires_at":"2022-11-19T00:48:45.848Z","expired":false,"multiple":false,"votes_count":1,"voters_count":1,"voted":true,"own_votes":[1],"options":[{"title":"four 94 string: '{"id":"2","expires_at":"2022-11-21T20:30:57.964Z","expired":false,"multiple":false,"votes_count":1,"voters_count":1,"voted":true,"own_votes":[1],"options":[{"title":"four
95 twenty","votes_count":0},{"title":"sixty-nine","votes_count":1}],"emojis":[]}' 95 twenty","votes_count":0},{"title":"sixty-nine","votes_count":1}],"emojis":[]}'
96 headers: 96 headers:
97 Cache-Control: 97 Cache-Control:
@@ -99,7 +99,7 @@ interactions:
99 Content-Security-Policy: 99 Content-Security-Policy:
100 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 100 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
101 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 101 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
102 style-src ''self'' http://localhost:3000 ''nonce-mzHP2a7alaJZ2iS5JRqTQw==''; 102 style-src ''self'' http://localhost:3000 ''nonce-Uq2tgKYSqYEqVAjdwFzw8A=='';
103 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 103 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
104 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 104 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
105 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 105 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -109,7 +109,7 @@ interactions:
109 Content-Type: 109 Content-Type:
110 - application/json; charset=utf-8 110 - application/json; charset=utf-8
111 ETag: 111 ETag:
112 - W/"9730ff19c61cedad0d8beded0f0dd099" 112 - W/"bc79f74f8d93fd648c00e59db8b7d725"
113 Referrer-Policy: 113 Referrer-Policy:
114 - strict-origin-when-cross-origin 114 - strict-origin-when-cross-origin
115 Transfer-Encoding: 115 Transfer-Encoding:
@@ -125,9 +125,9 @@ interactions:
125 X-Permitted-Cross-Domain-Policies: 125 X-Permitted-Cross-Domain-Policies:
126 - none 126 - none
127 X-Request-Id: 127 X-Request-Id:
128 - 9b384572-d0c3-4808-a796-f420d3241ba1 128 - b8546f5f-5b78-4f7c-9d86-8a3859c4e94a
129 X-Runtime: 129 X-Runtime:
130 - '0.031862' 130 - '0.032569'
131 X-XSS-Protection: 131 X-XSS-Protection:
132 - 1; mode=block 132 - 1; mode=block
133 status: 133 status:
@@ -162,7 +162,7 @@ interactions:
162 Content-Security-Policy: 162 Content-Security-Policy:
163 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 163 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
164 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 164 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
165 style-src ''self'' http://localhost:3000 ''nonce-3xTPSxJHi+rGgEGR9TYriw==''; 165 style-src ''self'' http://localhost:3000 ''nonce-hUZH4Kz2NU3HRrzQNC7Mcw=='';
166 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 166 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
167 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 167 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
168 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 168 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -186,9 +186,9 @@ interactions:
186 X-Permitted-Cross-Domain-Policies: 186 X-Permitted-Cross-Domain-Policies:
187 - none 187 - none
188 X-Request-Id: 188 X-Request-Id:
189 - b6e78de4-2944-4788-aa71-945e1d673a5f 189 - b4ae571f-faf4-46df-bc82-cdf9b75266b7
190 X-Runtime: 190 X-Runtime:
191 - '0.014287' 191 - '0.015682'
192 X-XSS-Protection: 192 X-XSS-Protection:
193 - 1; mode=block 193 - 1; mode=block
194 status: 194 status:
Powered by cgit v1.2.3 (git 2.41.0)