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_reject.yaml | 54 ++++++++++++------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'tests/cassettes/test_follow_request_reject.yaml') diff --git a/tests/cassettes/test_follow_request_reject.yaml b/tests/cassettes/test_follow_request_reject.yaml index 802aec4..a313ba8 100644 --- a/tests/cassettes/test_follow_request_reject.yaml +++ b/tests/cassettes/test_follow_request_reject.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-yOvH46MdIcQ18RNVRhQesw==''; + style-src ''self'' http://localhost:3000 ''nonce-hoPHlSraL93HCam8bB5hlA==''; 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: - - e5cf2632-513b-4208-88c9-c2918fa5a76d + - 4eeb5383-a187-4a06-a8bd-d9f47cdbd1d3 X-Runtime: - - '0.012219' + - '0.013207' 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-PqdSXP1XiPxnD6JpkzB+Og==''; + style-src ''self'' http://localhost:3000 ''nonce-g3Fd+GXpijS5JRX9/pB6DQ==''; 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: - '398' X-RateLimit-Reset: - - '2022-11-20T00:00:00.306484Z' + - '2022-11-22T00:00:00.614480Z' X-Request-Id: - - 5859f95f-358a-439a-b311-9d55c959ea72 + - b7070ec6-bf2a-42ff-98e4-a6d7c0f264dc X-Runtime: - - '0.019170' + - '0.019781' 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-8KC3a5FU9DMSODUK1xB8Yw==''; + style-src ''self'' http://localhost:3000 ''nonce-RE0eFhkXQwq3flXYmxFIAA==''; 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: - - 95a02fc5-4508-4acb-9a7f-d85db3530a28 + - fe488f3d-c0b7-433c-af55-dbbc45228830 X-Runtime: - - '0.019092' + - '0.012647' 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/reject + uri: http://localhost:3000/api/v1/follow_requests/109383664751443295/reject response: body: - string: '{"id":"109367691027217373","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":"top + string: '{"id":"109383664751443295","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":"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-GMu4dH7yzid8DwL2Ztd01g==''; + style-src ''self'' http://localhost:3000 ''nonce-ChkAGq/6EUJMtclVQpxCGg==''; 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/"08cbbe52317052ef8ec82a9714a02c24" + - W/"58461760c85684a6046b0ead8e4d4b9f" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -241,9 +241,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - c320a4d4-28e3-4276-bcc8-782fd8a9d8ec + - 551ee744-e73a-48c7-8630-2a6238f8b0ae X-Runtime: - - '0.030013' + - '0.024332' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3