From 98760f650bcaafedead3f0b6e2b0c594ab857338 Mon Sep 17 00:00:00 2001 From: halcy Date: Sat, 19 Nov 2022 02:52:17 +0200 Subject: commit new tests, bump versions --- tests/cassettes/test_account_search.yaml | 64 ++++++++++++++++---------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'tests/cassettes/test_account_search.yaml') diff --git a/tests/cassettes/test_account_search.yaml b/tests/cassettes/test_account_search.yaml index 8a2b153..38fcd12 100644 --- a/tests/cassettes/test_account_search.yaml +++ b/tests/cassettes/test_account_search.yaml @@ -16,14 +16,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=0 response: body: - 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,"emojis":[],"fields":[]},{"id":"109337440575107632","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin2","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,"emojis":[],"fields":[]}]' + string: '[{"id":"109367691027217373","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00: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,"emojis":[],"fields":[]},{"id":"109367691134988421","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin2","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,"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-MoeBrXQp6N1YXcxqa/hVgw==''; + style-src ''self'' http://localhost:3000 ''nonce-2teDmg/UCxxd3PrnMtfLeQ==''; 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/"fd90f5989e14c7bd621d7cbb5bdac3cb" + - W/"ec7606e03933569b6376218f9d32de82" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -49,16 +49,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - fcb4d02d-4b52-47e7-9ad1-fb4942e963e9 + - d18bfe7c-fb97-4059-80db-ed5069c5b595 X-Runtime: - - '0.017932' + - '0.019980' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: id=109337440467895233&reblogs=1¬ify=0 + body: id=109367691027217373&reblogs=1¬ify=0 headers: Accept: - '*/*' @@ -75,17 +75,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109337440467895233/follow + uri: http://localhost:3000/api/v1/accounts/109367691027217373/follow response: body: - string: '{"id":"109337440467895233","following":true,"showing_reblogs":true,"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":"109367691027217373","following":true,"showing_reblogs":true,"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-j5Ykmyn5vzLYLxlQJGa4rA==''; + style-src ''self'' http://localhost:3000 ''nonce-WNmtw39GY08Abeog/IGHcQ==''; 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 @@ -95,7 +95,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"f41bc668e73edcd14927a1be77af4e10" + - W/"08ded78d20e93b0aa22de7c0bebacc30" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -115,11 +115,11 @@ interactions: X-RateLimit-Remaining: - '399' X-RateLimit-Reset: - - '2022-11-14T00:00:00.477728Z' + - '2022-11-20T00:00:00.833934Z' X-Request-Id: - - 607939e7-058f-435f-bb87-411cf6b34d36 + - 1b907e44-0236-4d3f-9a58-30be92b9f803 X-Runtime: - - '0.030497' + - '0.039410' X-XSS-Protection: - 1; mode=block status: @@ -142,14 +142,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=1 response: body: - 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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}]' + string: '[{"id":"109367691027217373","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00: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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"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-enmk2TPCP+/Ixsd/dYJgjw==''; + style-src ''self'' http://localhost:3000 ''nonce-SPfxHauAjFWnMpLM2tkiVw==''; 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 @@ -159,7 +159,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a28dd5b97fe3d6be03a9efb65a44c10b" + - W/"8d93d6320ce09cc89c7b12ed9b6ac9e6" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -175,9 +175,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 13d8dc1c-8e22-4156-8f66-dc8ebfd20d8e + - d9959f5a-5a89-4191-9282-4d3b174e2fa2 X-Runtime: - - '0.010986' + - '0.011473' X-XSS-Protection: - 1; mode=block status: @@ -199,17 +199,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109337440467895233/unfollow + uri: http://localhost:3000/api/v1/accounts/109367691027217373/unfollow response: body: - 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":""}' + string: '{"id":"109367691027217373","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-W2RFER49n95xaEY/ENpeCQ==''; + style-src ''self'' http://localhost:3000 ''nonce-TgsFx2NAhAWZ3Rb0YYPROA==''; 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 @@ -219,7 +219,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"214f278429bf712708e952ee2355bf5e" + - W/"de4a48ee8790ee64cc1d3154ab11ba3a" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -235,9 +235,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - b05d6a99-86b3-490f-8da5-1a6a2475c72e + - b3116875-f8e0-4fb6-b14f-270655171a79 X-Runtime: - - '0.021831' + - '0.023245' X-XSS-Protection: - 1; mode=block status: @@ -267,7 +267,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-ZOZu1/F01VoA0O2M4ReWRw==''; + style-src ''self'' http://localhost:3000 ''nonce-W7Osn9r4tlxoqqBh60S+gw==''; 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 @@ -293,9 +293,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 9b2d3352-857b-494a-bdb5-f7ab09f56467 + - 5a5c70d4-9542-4f30-8f84-dbd563c1f03c X-Runtime: - - '0.007927' + - '0.008447' X-XSS-Protection: - 1; mode=block status: @@ -318,14 +318,14 @@ interactions: uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=0 response: body: - 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,"emojis":[],"fields":[]},{"id":"109337440575107632","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin2","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,"emojis":[],"fields":[]}]' + string: '[{"id":"109367691027217373","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00: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,"emojis":[],"fields":[]},{"id":"109367691134988421","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin2","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,"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-+oCof0CRAlbIG88eMH/JPg==''; + style-src ''self'' http://localhost:3000 ''nonce-kPgl4VgAWhkhuin6FS4PcA==''; 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 @@ -335,7 +335,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"fd90f5989e14c7bd621d7cbb5bdac3cb" + - W/"ec7606e03933569b6376218f9d32de82" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -351,9 +351,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - a8b24e0b-50a6-48e1-9298-671d53df9913 + - 6118210c-49d0-4aaa-a793-36321ab25375 X-Runtime: - - '0.012986' + - '0.014196' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3