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_account_pin_unpin.yaml | 94 ++++++++++++++--------------- 1 file changed, 47 insertions(+), 47 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 235f652..1155010 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":"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}}' + 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":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-lwRyGnhhiJUOEs1l+I879Q==''; + style-src ''self'' http://localhost:3000 ''nonce-A+oArOFMxfrSJXN9fWWdmQ==''; 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/"26a41decc4abdc0f1b476cd7f7c6bc85" + - W/"5f1b08410562cb6329b673347086f76f" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -49,16 +49,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 6213681a-bf07-473d-9465-e9646c6c0135 + - 2fbb902b-c35b-453c-a4c5-2792fd782917 X-Runtime: - - '0.013085' + - '0.014708' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: id=109367691027217373&reblogs=1¬ify=0 + body: reblogs=1¬ify=0 headers: Accept: - '*/*' @@ -69,23 +69,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/109367691027217373/follow + uri: http://localhost:3000/api/v1/accounts/109383664751443295/follow response: body: - 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":""}' + string: '{"id":"109383664751443295","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":""}' 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-+LjLDEvBUAGt/OHmqdUxlQ==''; + style-src ''self'' http://localhost:3000 ''nonce-GNJYgVGuZaVIDHJiZ3ngDQ==''; 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/"88e1221d08b7b072c09b7b903cbb6be4" + - W/"3d561d78586518cc88d52dcb3ac9e0a3" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -115,11 +115,11 @@ interactions: X-RateLimit-Remaining: - '397' X-RateLimit-Reset: - - '2022-11-20T00:00:00.036781Z' + - '2022-11-22T00:00:00.384750Z' X-Request-Id: - - 11f534a4-0067-4f47-b6a4-a75cddd4435f + - a113224b-8e93-495f-8236-05f19c32efa4 X-Runtime: - - '0.021817' + - '0.023702' 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/109367691027217373/unpin + uri: http://localhost:3000/api/v1/accounts/109383664751443295/unpin response: body: - 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":""}' + string: '{"id":"109383664751443295","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":""}' 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-h7N4dtUgBgupmhXXAqBHww==''; + style-src ''self'' http://localhost:3000 ''nonce-aDGpQLmtRRO/JgMfTBbVDQ==''; 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/"88e1221d08b7b072c09b7b903cbb6be4" + - W/"3d561d78586518cc88d52dcb3ac9e0a3" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -177,9 +177,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - f158dcf1-1635-48c3-a08b-bff8b0ad6519 + - 5e68f533-777b-4da7-abee-4f0fc8b05bcf X-Runtime: - - '0.014016' + - '0.014927' 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/109367691027217373/pin + uri: http://localhost:3000/api/v1/accounts/109383664751443295/pin response: body: - 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":""}' + string: '{"id":"109383664751443295","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":""}' 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-8EDSSXrnPb8ZLkLOJL1OtA==''; + style-src ''self'' http://localhost:3000 ''nonce-Y3bwO/Z3rnMbUtQBijgYQw==''; 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/"4e54cfeff1168cc6d3b59e593837f321" + - W/"63081057655e557286acff5566746dec" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -237,9 +237,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - d7f2744a-9cf8-4be6-8e5f-0bc5cc56c6b9 + - 9bf3c7b4-387b-4fbe-abff-9c4339ca9f4d X-Runtime: - - '0.016835' + - '0.016400' X-XSS-Protection: - 1; mode=block status: @@ -262,14 +262,14 @@ interactions: uri: http://localhost:3000/api/v1/endorsements 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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"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":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-t5ILTNfFIpwQ/Vk49QFJpg==''; + style-src ''self'' http://localhost:3000 ''nonce-+2lL0ulPYkY18pq/KzF+4w==''; 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/"8d93d6320ce09cc89c7b12ed9b6ac9e6" + - W/"77caa5a08b426b2c1865c6955d290bd4" 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: - - 8c0d5744-563b-4324-8302-b974f37123d7 + - e6f7ec88-4be1-4015-b5e4-7e9bdc46e0ad X-Runtime: - - '0.014269' + - '0.014866' 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/109367691027217373/unpin + uri: http://localhost:3000/api/v1/accounts/109383664751443295/unpin response: body: - 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":""}' + string: '{"id":"109383664751443295","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":""}' 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-vYOgrSFZxetCzRS98abPKA==''; + style-src ''self'' http://localhost:3000 ''nonce-4PkHoSl+2EVPT3/XXBmUzA==''; 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/"88e1221d08b7b072c09b7b903cbb6be4" + - W/"3d561d78586518cc88d52dcb3ac9e0a3" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -357,9 +357,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 6e7e41ab-1000-4dd5-9655-4c7adfd83066 + - 9f438383-5656-46ae-8c50-f6522ffe5192 X-Runtime: - - '0.013942' + - '0.013667' 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-UycFqIkg8T/4ou/O4avF2g==''; + style-src ''self'' http://localhost:3000 ''nonce-WkzIWbt9xWgG1YfmwNW+/w==''; 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: - - 9706b871-e019-4f57-b090-3f372b415a6c + - 40f04a02-8fc0-4552-b6bd-1d75c141c9e3 X-Runtime: - - '0.007243' + - '0.008048' 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/109367691027217373/unfollow + uri: http://localhost:3000/api/v1/accounts/109383664751443295/unfollow response: body: - 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":""}' + 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":""}' 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-6IRHjqunozeRY/j/JmYtwQ==''; + style-src ''self'' http://localhost:3000 ''nonce-XFr5mA99rzFre/2ngUkIfA==''; 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/"210c195ecdfaf1757a94243bbcc5bc94" + - W/"fdde9052870e9f115f5c25c05c7e9eef" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -475,9 +475,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 2f7c59c6-9ecf-4541-a35b-cd81a38a935a + - a5817e76-f694-4585-8e35-363cbe244598 X-Runtime: - - '0.017217' + - '0.020467' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3