From 5215c2242dd7b87418a7c10781c2b10b35d86f46 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 18:39:56 +0200 Subject: Fix some things in streaming and admin API for 3.3.0 support --- tests/cassettes/test_account_block_unblock.yaml | 34 ++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'tests/cassettes/test_account_block_unblock.yaml') diff --git a/tests/cassettes/test_account_block_unblock.yaml b/tests/cassettes/test_account_block_unblock.yaml index d43d775..6aadb23 100644 --- a/tests/cassettes/test_account_block_unblock.yaml +++ b/tests/cassettes/test_account_block_unblock.yaml @@ -16,14 +16,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials response: body: - string: '{"id":"109336898971915318","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":"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}}' 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-uyXxSsZqoZ3XOgkuIjbWXg==''; + style-src ''self'' http://localhost:3000 ''nonce-ix4co9GwbPMPm5AA5vAweQ==''; 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/"42368453c18e76d233e5f4ac57d3de69" + - W/"91cc35ca6300f8fcd18839f0f85f1152" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -49,9 +49,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 5649b15f-d226-439b-a945-46ac122f9600 + - 679d9222-d23e-4361-b943-219d3953d46e X-Runtime: - - '0.012219' + - '0.011919' X-XSS-Protection: - 1; mode=block status: @@ -73,17 +73,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109336898971915318/block + uri: http://localhost:3000/api/v1/accounts/109337440467895233/block response: body: - string: '{"id":"109336898971915318","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":true,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' + string: '{"id":"109337440467895233","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":true,"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-XDrE3X+GEVpRLuMsTUMA/Q==''; + style-src ''self'' http://localhost:3000 ''nonce-LJtONwh/6bmMsRGNv5QFSQ==''; 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 @@ -93,7 +93,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"3583f5560406441b965ce02068249015" + - W/"d793df625e7199b85701d1d9ffeae421" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -109,9 +109,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 900f8fc7-b8b4-4c7b-9b65-d805a03642d2 + - 49eb0848-0627-439a-a0a6-6176d01f6df6 X-Runtime: - - '0.020168' + - '0.021255' X-XSS-Protection: - 1; mode=block status: @@ -133,17 +133,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109336898971915318/unblock + uri: http://localhost:3000/api/v1/accounts/109337440467895233/unblock response: body: - string: '{"id":"109336898971915318","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":"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":""}' 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-jt2Oc5V6bTcDutPm1tVggg==''; + style-src ''self'' http://localhost:3000 ''nonce-T6MP6vrTHzh9AV4qStzfVg==''; 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 @@ -153,7 +153,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"b9dd6d5b54697012fa8e870d86d958d3" + - W/"214f278429bf712708e952ee2355bf5e" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -169,9 +169,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - c481212a-9700-4403-9337-2d66289370a6 + - 8af3de42-f69d-4f68-b452-52bbd15cf9c0 X-Runtime: - - '0.023003' + - '0.014651' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3