From b1e1ec7bdc9e84ecd31626f1a4fbf645e84d0bb2 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 15:33:10 +0200 Subject: Add support for timed mutes, fix tests to actually pass with new setup --- 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 275514c..4990e20 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":"109336199753389764","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":"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}}' 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-TRItETB4W72vy3k5XQZRAA==''; + style-src ''self'' http://localhost:3000 ''nonce-HM33qKT+YbxGRhTY4RLeRA==''; 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/"a576b865af5fce00b4019a62d9c55f75" + - W/"045b82c55c495fceaaae2b0dc2b6d8db" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -49,9 +49,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 53684e14-3054-47ec-aa8f-7450b0c38056 + - eccd1d00-e4d2-49d5-aefc-88151f96f9b3 X-Runtime: - - '0.025567' + - '0.013090' 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/109336199753389764/note + uri: http://localhost:3000/api/v1/accounts/109336623096259500/note response: body: - string: '{"id":"109336199753389764","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":"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 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-3t+BKMJ4b8EcyKFsQ7MZOg==''; + style-src ''self'' http://localhost:3000 ''nonce-RjEQxanFAHUiviDRKy0DHA==''; 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/"c3ead4efc220cb74679970c3bb3bd0cf" + - W/"fc5fa4da9317772baa3b6968b8c31a68" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -112,9 +112,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 91546468-a591-49ad-ac52-f2c5ab510161 + - 01b8c120-4acc-4a50-922b-b4befb2bf50e X-Runtime: - - '0.037352' + - '0.021554' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3