From 0e00fced99976d74e972a3c9ca5b762697840a33 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 16:16:29 +0200 Subject: fix tests --- .../test_account_update_credentials_no_avatar.yaml | 30 +++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'tests/cassettes/test_account_update_credentials_no_avatar.yaml') diff --git a/tests/cassettes/test_account_update_credentials_no_avatar.yaml b/tests/cassettes/test_account_update_credentials_no_avatar.yaml index d8a7b2b..31bd440 100644 --- a/tests/cassettes/test_account_update_credentials_no_avatar.yaml +++ b/tests/cassettes/test_account_update_credentials_no_avatar.yaml @@ -1,13 +1,13 @@ interactions: - request: body: !!binary | - LS05ZDQ2YWFjODk1MTk1MTUzOTM0ZjUxMDJkMzU4ZGExYg0KQ29udGVudC1EaXNwb3NpdGlvbjog - Zm9ybS1kYXRhOyBuYW1lPSJkaXNwbGF5X25hbWUiDQoNCkpvaG4gTGVubm9uDQotLTlkNDZhYWM4 - OTUxOTUxNTM5MzRmNTEwMmQzNThkYTFiDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7 - IG5hbWU9Im5vdGUiDQoNCkkgd2FsayBmdW5ueQ0KLS05ZDQ2YWFjODk1MTk1MTUzOTM0ZjUxMDJk - MzU4ZGExYg0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJoZWFkZXIiOyBm - aWxlbmFtZT0ibWFzdG9kb25weXVwbG9hZF8xNjY4MzQ1Mjc1LjYzMTYyXzNlYmNkZDU3MGMwMTQy - Nzg5ODkyOTEwNGRkZDk1M2NkLmpwZyINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0KDQr/2P/g + LS05OWQyZjExZDFmYjIyYjI0ODM4YjBiMjFkNDRiMWJlZQ0KQ29udGVudC1EaXNwb3NpdGlvbjog + Zm9ybS1kYXRhOyBuYW1lPSJkaXNwbGF5X25hbWUiDQoNCkpvaG4gTGVubm9uDQotLTk5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53745' Content-Type: - - multipart/form-data; boundary=9d46aac895195153934f5102d358da1b + - multipart/form-data; boundary=99d2f11d1fb22b24838b0b21d44b1bee User-Agent: - tests/v311 method: PATCH uri: http://localhost:3000/api/v1/accounts/update_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":0,"last_status_at":null,"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":0,"last_status_at":null,"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: @@ -973,7 +973,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-Flf21y/hL2a6g7YJa4YE8w==''; + style-src ''self'' http://localhost:3000 ''nonce-hAZ275fq1LAzavIBCjc1WQ==''; 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 @@ -983,7 +983,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"88dddad65c839761de1ac48e31e37246" + - W/"85aff3592abbccaac1c06a612ba5aaa8" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -999,9 +999,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - d2befb82-9593-457b-8570-2b236ed165ae + - 2a327e12-a614-4e46-87bb-77eb4a781905 X-Runtime: - - '0.035399' + - '0.035448' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3