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_notes.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tests/cassettes/test_account_notes.yaml') diff --git a/tests/cassettes/test_account_notes.yaml b/tests/cassettes/test_account_notes.yaml index 8d6e967..b6060c6 100644 --- a/tests/cassettes/test_account_notes.yaml +++ b/tests/cassettes/test_account_notes.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-+FzEiTEiR5xul6d/N2h22w==''; + style-src ''self'' http://localhost:3000 ''nonce-QKXg1dg0fOzj/rCFTOQHsA==''; 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: - - f76906df-0d02-439e-ba9a-8f0945cbeb3c + - fa5aac11-7a30-4ebc-86b9-71c0a2a26924 X-Runtime: - - '0.012556' + - '0.011804' X-XSS-Protection: - 1; mode=block status: @@ -75,10 +75,10 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109336898971915318/note + uri: http://localhost:3000/api/v1/accounts/109337440467895233/note 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":"top + 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":"top ebayer gerne wieder"}' headers: Cache-Control: @@ -86,7 +86,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-PwJ2bvSnrg8SZ2oiBw9RmA==''; + style-src ''self'' http://localhost:3000 ''nonce-gywgKgK+C+gppR5/ORBQFg==''; 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 @@ -96,7 +96,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a58b6931bdf80070edebc5580f3ddc28" + - W/"d7e89095e63ccdec6921fcd4a7c80890" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -112,9 +112,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - e4b173f7-6aa8-472b-917e-8e288567f141 + - 62c8a4be-f04a-44ef-ae87-06dd86049c8e X-Runtime: - - '0.018562' + - '0.020430' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3