From 6abaff55e7e78b83bd03af9f370a1256e7271b4a Mon Sep 17 00:00:00 2001 From: halcy Date: Mon, 21 Nov 2022 22:34:12 +0200 Subject: Refresh tests --- tests/cassettes/test_follow_request_authorize.yaml | 66 +++++++++++----------- 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'tests/cassettes/test_follow_request_authorize.yaml') diff --git a/tests/cassettes/test_follow_request_authorize.yaml b/tests/cassettes/test_follow_request_authorize.yaml index 1824b5b..3a4a709 100644 --- a/tests/cassettes/test_follow_request_authorize.yaml +++ b/tests/cassettes/test_follow_request_authorize.yaml @@ -16,9 +16,9 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials response: body: - string: '{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John - Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI - walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","header":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-19","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I + string: '{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John + Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI + walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-21","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"role":{"id":"-99","name":"","permissions":"65536","color":"","highlighted":false}}' headers: Cache-Control: @@ -26,7 +26,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-h4eKnyAw+Mcl0Mhx95Ashw==''; + style-src ''self'' http://localhost:3000 ''nonce-WsRVOliNEpr1X6iAXpBBRg==''; 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 @@ -36,7 +36,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"7654f97f36b00c54d942947b4d38b315" + - W/"f0c1c17f03ff9c89bb3e36a614ea0c31" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -52,16 +52,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 609ad77c-022e-48c5-8f29-dd1c13c7c32d + - ccb168cf-67e6-4967-a542-4a03b2edb8db X-Runtime: - - '0.013744' + - '0.012907' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: id=109367691239664003&reblogs=1¬ify=0 + body: reblogs=1¬ify=0 headers: Accept: - '*/*' @@ -72,23 +72,23 @@ interactions: Connection: - keep-alive Content-Length: - - '40' + - '18' Content-Type: - application/x-www-form-urlencoded User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109367691239664003/follow + uri: http://localhost:3000/api/v1/accounts/109383664973470793/follow response: body: - string: '{"id":"109367691239664003","following":false,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":true,"domain_blocking":false,"endorsed":false,"note":""}' + string: '{"id":"109383664973470793","following":false,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":true,"domain_blocking":false,"endorsed":false,"note":""}' headers: Cache-Control: - no-store 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-gDdtWpACrjK+4Y5UocEDrA==''; + style-src ''self'' http://localhost:3000 ''nonce-kPfGOez5+f/GghaC3SCjLA==''; 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 @@ -98,7 +98,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"ba1f3031e13355dca953514b4d84b0f2" + - W/"8bf853cb868ace98faebf87441e713c6" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -118,11 +118,11 @@ interactions: X-RateLimit-Remaining: - '399' X-RateLimit-Reset: - - '2022-11-20T00:00:00.185186Z' + - '2022-11-22T00:00:00.478973Z' X-Request-Id: - - 7b3073c3-acfb-489b-a0de-d8338cf8c6b0 + - c6e275d7-f99f-4044-b067-0b7cb89912ef X-Runtime: - - '0.026294' + - '0.027657' X-XSS-Protection: - 1; mode=block status: @@ -145,14 +145,14 @@ interactions: uri: http://localhost:3000/api/v1/follow_requests response: body: - string: '[{"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":0,"last_status_at":"2022-11-19","noindex":false,"emojis":[],"fields":[]}]' + string: '[{"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":0,"last_status_at":"2022-11-21","noindex":false,"emojis":[],"fields":[]}]' headers: Cache-Control: - no-store 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-H3meHtqIVfirCXr9SIG/IQ==''; + style-src ''self'' http://localhost:3000 ''nonce-ONY35E9TUR4GSDNvglU7xg==''; 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 @@ -162,7 +162,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"d58435616f941bad0ec95689cdbb14ba" + - W/"45b0721f6d5a39c82d26b58fb3460681" Link: - ; rel="prev" Referrer-Policy: @@ -180,9 +180,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - a0dca445-723f-45c7-9bf3-42dfdf5bcd36 + - 410761dc-902b-435b-a1c7-aaaf3be76406 X-Runtime: - - '0.012419' + - '0.014428' X-XSS-Protection: - 1; mode=block status: @@ -204,10 +204,10 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/follow_requests/109367691027217373/authorize + uri: http://localhost:3000/api/v1/follow_requests/109383664751443295/authorize response: body: - string: '{"id":"109367691027217373","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":true,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top + string: '{"id":"109383664751443295","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":true,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top ebayer gerne wieder"}' headers: Cache-Control: @@ -215,7 +215,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-HXgEX6AoWUg89R7c701dXQ==''; + style-src ''self'' http://localhost:3000 ''nonce-Z6xgyZYrm9SMxgHVQRGHfA==''; 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 @@ -225,7 +225,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"df8db6fc33cf88e6b3067403327b876e" + - W/"c04f6be6a0ef28c4fa28c90be085b3f2" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -241,9 +241,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 41b18f88-c0be-42ba-8ea4-f62cb168e4cf + - 8207ec37-2155-4047-9fbe-ec474607d844 X-Runtime: - - '0.032503' + - '0.039781' X-XSS-Protection: - 1; mode=block status: @@ -265,17 +265,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109367691239664003/unfollow + uri: http://localhost:3000/api/v1/accounts/109383664973470793/unfollow response: body: - string: '{"id":"109367691239664003","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' + string: '{"id":"109383664973470793","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' headers: Cache-Control: - no-store 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-iPLt4TfCHIPBIqo9T7m5lw==''; + style-src ''self'' http://localhost:3000 ''nonce-RIw7w2pklUpsF4bey/1oZA==''; 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 @@ -285,7 +285,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"45412d19770b413dc169019b438136b4" + - W/"37793d4f68e5fe4f752f10e8ffd35164" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -301,9 +301,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 62993e5e-8228-4e93-a69a-3259ca0865dd + - 1c2200be-cd49-4816-a470-00b1bbdf0df8 X-Runtime: - - '0.017194' + - '0.018445' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3