From 98760f650bcaafedead3f0b6e2b0c594ab857338 Mon Sep 17 00:00:00 2001 From: halcy Date: Sat, 19 Nov 2022 02:52:17 +0200 Subject: commit new tests, bump versions --- tests/cassettes/test_poll_illegal_vote.yaml | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'tests/cassettes/test_poll_illegal_vote.yaml') diff --git a/tests/cassettes/test_poll_illegal_vote.yaml b/tests/cassettes/test_poll_illegal_vote.yaml index 0c40da8..5428a87 100644 --- a/tests/cassettes/test_poll_illegal_vote.yaml +++ b/tests/cassettes/test_poll_illegal_vote.yaml @@ -21,8 +21,8 @@ interactions: uri: http://localhost:3000/api/v1/statuses response: body: - string: '{"id":"109337447666886660","created_at":"2022-11-13T16:30:50.582Z","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/109337447666886660","url":"http://localhost:3000/@admin/109337447666886660","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 - test suite","website":null},"account":{"id":"109337440467895233","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00: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-13","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":{"id":"2","expires_at":"2022-11-13T16:35:50.581Z","expired":false,"multiple":false,"votes_count":0,"voters_count":0,"voted":true,"own_votes":[],"options":[{"title":"four + 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 + 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 twenty","votes_count":0},{"title":"sixty-nine","votes_count":0}],"emojis":[]}}' headers: Cache-Control: @@ -30,7 +30,7 @@ interactions: Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-LuA7U0MySjzWKPdYaDzxWA==''; + style-src ''self'' http://localhost:3000 ''nonce-Xnj9rADgBo5DveMfFo96sw==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -40,7 +40,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"05aaa9e37e8b5b04eb63aa747362d14f" + - W/"cb0ff65d84dfed8fb1f9f259c824878e" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -60,11 +60,11 @@ interactions: X-RateLimit-Remaining: - '294' X-RateLimit-Reset: - - '2022-11-13T18:00:00.605020Z' + - '2022-11-19T03:00:00.873288Z' X-Request-Id: - - d5e5dc35-40da-4705-bb8c-3d2b0778bf37 + - a0958e1e-9d15-4f85-9432-0ac596704c3a X-Runtime: - - '0.035173' + - '0.038303' X-XSS-Protection: - 1; mode=block status: @@ -91,7 +91,7 @@ interactions: uri: http://localhost:3000/api/v1/polls/2/votes response: body: - string: '{"id":"2","expires_at":"2022-11-13T16:35:50.581Z","expired":false,"multiple":false,"votes_count":1,"voters_count":1,"voted":true,"own_votes":[1],"options":[{"title":"four + 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 twenty","votes_count":0},{"title":"sixty-nine","votes_count":1}],"emojis":[]}' headers: Cache-Control: @@ -99,7 +99,7 @@ interactions: Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-SzNU1C322pmon50+qpNDAQ==''; + style-src ''self'' http://localhost:3000 ''nonce-mzHP2a7alaJZ2iS5JRqTQw==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -109,7 +109,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"c00b8c5eeeab302fb1f9f741112e0f49" + - W/"9730ff19c61cedad0d8beded0f0dd099" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -125,9 +125,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 5099f0c1-5ebb-443b-8e7a-cbb3cd64aeda + - 9b384572-d0c3-4808-a796-f420d3241ba1 X-Runtime: - - '0.023689' + - '0.031862' X-XSS-Protection: - 1; mode=block status: @@ -162,7 +162,7 @@ interactions: Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-fYt0j0+JFl0TCYNYONKHRw==''; + style-src ''self'' http://localhost:3000 ''nonce-3xTPSxJHi+rGgEGR9TYriw==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -186,9 +186,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 980ef0c0-fa0b-46ef-a7f3-1d55ba7a7dce + - b6e78de4-2944-4788-aa71-945e1d673a5f X-Runtime: - - '0.013594' + - '0.014287' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3