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_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 aea2c90..d43d775 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":"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":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":"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}}' 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-wQPZxoRHh1Sx2JwE0YEr5g==''; + style-src ''self'' http://localhost:3000 ''nonce-uyXxSsZqoZ3XOgkuIjbWXg==''; 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/"045b82c55c495fceaaae2b0dc2b6d8db" + - W/"42368453c18e76d233e5f4ac57d3de69" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -49,9 +49,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 94b24adf-36e2-4a67-b36e-c2b6cec49d62 + - 5649b15f-d226-439b-a945-46ac122f9600 X-Runtime: - - '0.011970' + - '0.012219' 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/109336623096259500/block + uri: http://localhost:3000/api/v1/accounts/109336898971915318/block response: body: - string: '{"id":"109336623096259500","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":"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":""}' 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-kmle48j/3xVPuzbFh5EdJA==''; + style-src ''self'' http://localhost:3000 ''nonce-XDrE3X+GEVpRLuMsTUMA/Q==''; 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/"ca4303e759c5001f8af1161336791d79" + - W/"3583f5560406441b965ce02068249015" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -109,9 +109,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 31b7b6ea-bebc-485a-a50f-42d5daa2dec9 + - 900f8fc7-b8b4-4c7b-9b65-d805a03642d2 X-Runtime: - - '0.019852' + - '0.020168' 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/109336623096259500/unblock + uri: http://localhost:3000/api/v1/accounts/109336898971915318/unblock 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":""}' + 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":""}' 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-KYJQ20iuM0rPW8HAC2r4MA==''; + style-src ''self'' http://localhost:3000 ''nonce-jt2Oc5V6bTcDutPm1tVggg==''; 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/"945f7c7731010ff2bfa8f3f3889c235c" + - W/"b9dd6d5b54697012fa8e870d86d958d3" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -169,9 +169,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 6a193e03-8b5a-4449-90df-fdcbce18f9b4 + - c481212a-9700-4403-9337-2d66289370a6 X-Runtime: - - '0.015411' + - '0.023003' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3