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_follow_request_authorize.yaml | 64 +++++++++++----------- 1 file changed, 32 insertions(+), 32 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 e591ce6..1824b5b 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":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John - Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00: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/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-13","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I + 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 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-jDJeA+63d1EFUKimoZROqg==''; + style-src ''self'' http://localhost:3000 ''nonce-h4eKnyAw+Mcl0Mhx95Ashw==''; 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/"e183607239359eb978d255efb060252a" + - W/"7654f97f36b00c54d942947b4d38b315" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -52,16 +52,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - a8560e7d-5652-4242-b24f-93006efce6fe + - 609ad77c-022e-48c5-8f29-dd1c13c7c32d X-Runtime: - - '0.012040' + - '0.013744' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: id=109337440686176140&reblogs=1¬ify=0 + body: id=109367691239664003&reblogs=1¬ify=0 headers: Accept: - '*/*' @@ -78,17 +78,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109337440686176140/follow + uri: http://localhost:3000/api/v1/accounts/109367691239664003/follow response: body: - string: '{"id":"109337440686176140","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":"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":""}' 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-1cAt9Qi5b/f0NryeRcjz1A==''; + style-src ''self'' http://localhost:3000 ''nonce-gDdtWpACrjK+4Y5UocEDrA==''; 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/"a965641500bbdf4e2106897685d8cafa" + - W/"ba1f3031e13355dca953514b4d84b0f2" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -118,11 +118,11 @@ interactions: X-RateLimit-Remaining: - '399' X-RateLimit-Reset: - - '2022-11-14T00:00:00.802897Z' + - '2022-11-20T00:00:00.185186Z' X-Request-Id: - - 8a6b6593-b5d9-455f-aee3-edcbe58d1662 + - 7b3073c3-acfb-489b-a0de-d8338cf8c6b0 X-Runtime: - - '0.129993' + - '0.026294' X-XSS-Protection: - 1; mode=block status: @@ -145,14 +145,14 @@ interactions: uri: http://localhost:3000/api/v1/follow_requests response: body: - string: '[{"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":0,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]}]' + 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":[]}]' 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-aShQcyP60+byJRyumclSNw==''; + style-src ''self'' http://localhost:3000 ''nonce-H3meHtqIVfirCXr9SIG/IQ==''; 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/"e35238cca589e7744c643a3e10c9010b" + - W/"d58435616f941bad0ec95689cdbb14ba" Link: - ; rel="prev" Referrer-Policy: @@ -180,9 +180,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - e702f0e0-831e-43f7-94b0-d2d9359adbcd + - a0dca445-723f-45c7-9bf3-42dfdf5bcd36 X-Runtime: - - '0.020715' + - '0.012419' 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/109337440467895233/authorize + uri: http://localhost:3000/api/v1/follow_requests/109367691027217373/authorize response: body: - string: '{"id":"109337440467895233","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":"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 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-3gSCW1IOXnVBp2GN7Za+sw==''; + style-src ''self'' http://localhost:3000 ''nonce-HXgEX6AoWUg89R7c701dXQ==''; 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/"8265e23299b00fcc490e9d3270bb8f24" + - W/"df8db6fc33cf88e6b3067403327b876e" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -241,9 +241,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 3c02f0cf-2816-4929-a76b-eb6c83c00fd1 + - 41b18f88-c0be-42ba-8ea4-f62cb168e4cf X-Runtime: - - '0.032252' + - '0.032503' 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/109337440686176140/unfollow + uri: http://localhost:3000/api/v1/accounts/109367691239664003/unfollow response: body: - string: '{"id":"109337440686176140","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":"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":""}' 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-oiwkQOI4lCewwgCZYZlucA==''; + style-src ''self'' http://localhost:3000 ''nonce-iPLt4TfCHIPBIqo9T7m5lw==''; 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/"da64cc2031fc6bf49a3a59d9ed3af53b" + - W/"45412d19770b413dc169019b438136b4" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -301,9 +301,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 2874f7ca-c689-4f34-a21b-3ffee602e520 + - 62993e5e-8228-4e93-a69a-3259ca0865dd X-Runtime: - - '0.017434' + - '0.017194' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3