From 0e00fced99976d74e972a3c9ca5b762697840a33 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 16:16:29 +0200 Subject: fix tests --- tests/cassettes/test_follow_request_reject.yaml | 52 ++++++++++++------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'tests/cassettes/test_follow_request_reject.yaml') diff --git a/tests/cassettes/test_follow_request_reject.yaml b/tests/cassettes/test_follow_request_reject.yaml index 9647660..3eac833 100644 --- a/tests/cassettes/test_follow_request_reject.yaml +++ b/tests/cassettes/test_follow_request_reject.yaml @@ -16,9 +16,9 @@ interactions: uri: http://localhost:3000/api/v1/accounts/verify_credentials response: body: - string: '{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John + string: '{"id":"109336899193569236","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/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2022-11-13","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I + walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.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 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-4ljsecejhhptEJQeIgsrvg==''; + style-src ''self'' http://localhost:3000 ''nonce-bJEq+PvBZnBQgSS277NDeA==''; 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/"dce7c9745705c468836e3126d8118b03" + - W/"12b0e62e0e0f32f20325022e5ba56fd0" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -52,16 +52,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 544fa1f9-f141-4ce3-98a9-f6228687f4f2 + - 84285508-8e26-405c-905d-a99ce31f9a16 X-Runtime: - - '0.012213' + - '0.019226' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: id=109336623311102204&reblogs=1 + body: id=109336899193569236&reblogs=1¬ify=0 headers: Accept: - '*/*' @@ -72,23 +72,23 @@ interactions: Connection: - keep-alive Content-Length: - - '31' + - '40' Content-Type: - application/x-www-form-urlencoded User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109336623311102204/follow + uri: http://localhost:3000/api/v1/accounts/109336899193569236/follow response: body: - string: '{"id":"109336623311102204","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":"109336899193569236","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-KwYl/QMJ40x/jxv8HgYFsg==''; + style-src ''self'' http://localhost:3000 ''nonce-yoooYKM1jV3AAw3Q3/L77w==''; 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/"c9017603ea01c27c666346fa4fcf6163" + - W/"91575c89c797a5fe1b723d49bff64b84" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -118,11 +118,11 @@ interactions: X-RateLimit-Remaining: - '398' X-RateLimit-Reset: - - '2022-11-14T00:00:00.496438Z' + - '2022-11-14T00:00:00.015163Z' X-Request-Id: - - 7d29b289-d836-4d93-ad5f-5199615e57f7 + - 5eab3935-6f8c-4095-afb2-f4895c49c379 X-Runtime: - - '0.018329' + - '0.019101' X-XSS-Protection: - 1; mode=block status: @@ -145,14 +145,14 @@ interactions: uri: http://localhost:3000/api/v1/follow_requests response: body: - string: '[{"id":"109336623096259500","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":3,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]}]' + 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":"2022-11-13","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-KwKFk9b2Hp64uT/2kqkOfw==''; + style-src ''self'' http://localhost:3000 ''nonce-TND8wRqeUHxaxyNk7uRWPA==''; 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/"8643b7b02e183007a55f69f8f0544767" + - W/"86387c8dbe9ed6a9fbfb7321a2ec0636" Link: - ; rel="prev" Referrer-Policy: @@ -180,9 +180,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 53a38ffa-ee95-4e92-9e54-0bc4b4488072 + - 17494d85-a0b6-41a6-a8d1-ecdb5dc2ce66 X-Runtime: - - '0.014696' + - '0.012626' 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/109336623096259500/reject + uri: http://localhost:3000/api/v1/follow_requests/109336898971915318/reject response: body: - string: '{"id":"109336623096259500","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":"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 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-C6C6ydulQLzBObPZPmfeWw==''; + style-src ''self'' http://localhost:3000 ''nonce-4jsUnY+f82F73TaP1qSBjQ==''; 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/"fc5fa4da9317772baa3b6968b8c31a68" + - W/"a58b6931bdf80070edebc5580f3ddc28" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -241,9 +241,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - a972bf81-e361-4a66-b288-50f25456a840 + - 48b282c5-ea00-49cf-8bcd-6541ab61c6b5 X-Runtime: - - '0.021696' + - '0.024205' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3