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_account_pin_unpin.yaml | 92 ++++++++++++++--------------- 1 file changed, 46 insertions(+), 46 deletions(-) (limited to 'tests/cassettes/test_account_pin_unpin.yaml') diff --git a/tests/cassettes/test_account_pin_unpin.yaml b/tests/cassettes/test_account_pin_unpin.yaml index edefdfa..235f652 100644 --- a/tests/cassettes/test_account_pin_unpin.yaml +++ b/tests/cassettes/test_account_pin_unpin.yaml @@ -16,14 +16,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials 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":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' + 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":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' 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-Ogw0H6jVVf5r3x6nQoPkYw==''; + style-src ''self'' http://localhost:3000 ''nonce-lwRyGnhhiJUOEs1l+I879Q==''; 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 @@ -33,7 +33,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"91cc35ca6300f8fcd18839f0f85f1152" + - W/"26a41decc4abdc0f1b476cd7f7c6bc85" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -49,16 +49,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - a8f687e3-3cc3-43ef-9a5b-38aaf4fe34ca + - 6213681a-bf07-473d-9465-e9646c6c0135 X-Runtime: - - '0.012507' + - '0.013085' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: id=109337440467895233&reblogs=1¬ify=0 + body: id=109367691027217373&reblogs=1¬ify=0 headers: Accept: - '*/*' @@ -75,17 +75,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109337440467895233/follow + uri: http://localhost:3000/api/v1/accounts/109367691027217373/follow response: body: - string: '{"id":"109337440467895233","following":true,"showing_reblogs":true,"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":"109367691027217373","following":true,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"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-zZo9idfJFAOWecajN7IGyQ==''; + style-src ''self'' http://localhost:3000 ''nonce-+LjLDEvBUAGt/OHmqdUxlQ==''; 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 @@ -95,7 +95,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"f41bc668e73edcd14927a1be77af4e10" + - W/"88e1221d08b7b072c09b7b903cbb6be4" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -115,11 +115,11 @@ interactions: X-RateLimit-Remaining: - '397' X-RateLimit-Reset: - - '2022-11-14T00:00:00.593600Z' + - '2022-11-20T00:00:00.036781Z' X-Request-Id: - - d404ceb3-7d6f-49b2-a134-a22aa2e5a417 + - 11f534a4-0067-4f47-b6a4-a75cddd4435f X-Runtime: - - '0.029915' + - '0.021817' X-XSS-Protection: - 1; mode=block status: @@ -141,17 +141,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109337440467895233/unpin + uri: http://localhost:3000/api/v1/accounts/109367691027217373/unpin response: body: - string: '{"id":"109337440467895233","following":true,"showing_reblogs":true,"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":"109367691027217373","following":true,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"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-4cisooxgEkXS5UL7TEyqeQ==''; + style-src ''self'' http://localhost:3000 ''nonce-h7N4dtUgBgupmhXXAqBHww==''; 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 @@ -161,7 +161,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"f41bc668e73edcd14927a1be77af4e10" + - W/"88e1221d08b7b072c09b7b903cbb6be4" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -177,9 +177,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 3531d80c-2090-4503-b899-f60457c7d8b1 + - f158dcf1-1635-48c3-a08b-bff8b0ad6519 X-Runtime: - - '0.019055' + - '0.014016' X-XSS-Protection: - 1; mode=block status: @@ -201,17 +201,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109337440467895233/pin + uri: http://localhost:3000/api/v1/accounts/109367691027217373/pin response: body: - string: '{"id":"109337440467895233","following":true,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":true,"note":""}' + string: '{"id":"109367691027217373","following":true,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":true,"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-KSIYE72w6FHtZsWZNMtAIw==''; + style-src ''self'' http://localhost:3000 ''nonce-8EDSSXrnPb8ZLkLOJL1OtA==''; 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 @@ -221,7 +221,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"204bc86e48d7a9709a0354241829cf52" + - W/"4e54cfeff1168cc6d3b59e593837f321" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -237,9 +237,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 81fb50c5-2bc9-4eac-97c3-8359cc1d6377 + - d7f2744a-9cf8-4be6-8e5f-0bc5cc56c6b9 X-Runtime: - - '0.017375' + - '0.016835' X-XSS-Protection: - 1; mode=block status: @@ -262,14 +262,14 @@ interactions: uri: http://localhost:3000/api/v1/endorsements 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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"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-AcYgcrN5Lnp3gUXBBi/H4g==''; + style-src ''self'' http://localhost:3000 ''nonce-t5ILTNfFIpwQ/Vk49QFJpg==''; 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 @@ -279,9 +279,9 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a28dd5b97fe3d6be03a9efb65a44c10b" + - W/"8d93d6320ce09cc89c7b12ed9b6ac9e6" Link: - - ; rel="prev" + - ; rel="prev" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -297,9 +297,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - f6c7db59-0485-4171-8ae5-5f8211e47701 + - 8c0d5744-563b-4324-8302-b974f37123d7 X-Runtime: - - '0.014959' + - '0.014269' X-XSS-Protection: - 1; mode=block status: @@ -321,17 +321,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109337440467895233/unpin + uri: http://localhost:3000/api/v1/accounts/109367691027217373/unpin response: body: - string: '{"id":"109337440467895233","following":true,"showing_reblogs":true,"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":"109367691027217373","following":true,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"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-xu2LMW3E5A0vQzWO0mMPPg==''; + style-src ''self'' http://localhost:3000 ''nonce-vYOgrSFZxetCzRS98abPKA==''; 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 @@ -341,7 +341,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"f41bc668e73edcd14927a1be77af4e10" + - W/"88e1221d08b7b072c09b7b903cbb6be4" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -357,9 +357,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 6afaad7d-fab8-49ed-916f-9f91468171e3 + - 6e7e41ab-1000-4dd5-9655-4c7adfd83066 X-Runtime: - - '0.015131' + - '0.013942' X-XSS-Protection: - 1; mode=block status: @@ -389,7 +389,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-FR1xgCJ9Ucp2CkX3GglWPg==''; + style-src ''self'' http://localhost:3000 ''nonce-UycFqIkg8T/4ou/O4avF2g==''; 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 @@ -415,9 +415,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - ee9e7cbe-48ff-4c50-a849-389967949b45 + - 9706b871-e019-4f57-b090-3f372b415a6c X-Runtime: - - '0.007120' + - '0.007243' X-XSS-Protection: - 1; mode=block status: @@ -439,17 +439,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109337440467895233/unfollow + uri: http://localhost:3000/api/v1/accounts/109367691027217373/unfollow response: body: - string: '{"id":"109337440467895233","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":"109367691027217373","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"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-zje0Na8e1IVLcICXaZ0GDg==''; + style-src ''self'' http://localhost:3000 ''nonce-6IRHjqunozeRY/j/JmYtwQ==''; 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 @@ -459,7 +459,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"214f278429bf712708e952ee2355bf5e" + - W/"210c195ecdfaf1757a94243bbcc5bc94" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -475,9 +475,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 49bf2e91-72a1-4fe1-becb-11504a62ef25 + - 2f7c59c6-9ecf-4541-a35b-cd81a38a935a X-Runtime: - - '0.015496' + - '0.017217' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3