From 0159bd7caecc9c3311f5f18869321b564f05ac89 Mon Sep 17 00:00:00 2001 From: halcy Date: Thu, 1 Dec 2022 22:07:42 +0200 Subject: commit new set of tests --- tests/cassettes/test_account_search.yaml | 62 ++++++++++++++++---------------- 1 file changed, 31 insertions(+), 31 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 476c091..286169b 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":"109383664751443295","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":"109383664863586758","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":"109440137501589086","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00: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":"109440137619167380","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00: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-pvJ+HJwp3nz76wMPVdJRbg==''; + style-src ''self'' http://localhost:3000 ''nonce-3TX14a4nRM1CL8fV2nTtSA==''; 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/"4af9f7d117e2abb21ce1e81f7930cefd" + - W/"da6f23110852835a635c238b2bac8b76" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -49,9 +49,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 798b8783-a35a-4b4b-9b6c-2b7496de0dfd + - a7a19609-1785-4b85-9c4f-68c933622a67 X-Runtime: - - '0.020517' + - '0.025905' X-XSS-Protection: - 1; mode=block status: @@ -75,17 +75,17 @@ interactions: User-Agent: - tests/v311 method: POST - uri: http://localhost:3000/api/v1/accounts/109383664751443295/follow + uri: http://localhost:3000/api/v1/accounts/109440137501589086/follow response: body: - string: '{"id":"109383664751443295","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":"109440137501589086","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-D9c/Z+1Ut3d18tObKwxq8w==''; + style-src ''self'' http://localhost:3000 ''nonce-vy7uDmKjcR1TR4c+lysmjw==''; 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/"3d561d78586518cc88d52dcb3ac9e0a3" + - W/"a7521adf429fc1c54a67dc3198e1f911" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -115,11 +115,11 @@ interactions: X-RateLimit-Remaining: - '399' X-RateLimit-Reset: - - '2022-11-22T00:00:00.054527Z' + - '2022-12-02T00:00:00.740841Z' X-Request-Id: - - 04627555-2542-423e-9b28-99373d3f768c + - 69052db2-dbe5-40db-a06c-dce459d86b8c X-Runtime: - - '0.043467' + - '0.044179' 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":"109383664751443295","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":"109440137501589086","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00: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-d3F0YXSBpLpv0RFK0DeUvw==''; + style-src ''self'' http://localhost:3000 ''nonce-hCyWXhceDcgNNIOR4B4aSQ==''; 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/"77caa5a08b426b2c1865c6955d290bd4" + - W/"d5f0b4c5503f27c7de3d5491e947b64b" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -175,9 +175,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 7120656e-c687-4b30-bc9d-b33b8fe293f7 + - caa9fd80-08b3-4076-9b50-4b8712f119ed X-Runtime: - - '0.012369' + - '0.013136' 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/109383664751443295/unfollow + uri: http://localhost:3000/api/v1/accounts/109440137501589086/unfollow response: body: - string: '{"id":"109383664751443295","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":"109440137501589086","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-VpTZ1u2OUMl/UEP5bvZwNg==''; + style-src ''self'' http://localhost:3000 ''nonce-K7rcIS5Jos9R1eDX/ipI3g==''; 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/"fdde9052870e9f115f5c25c05c7e9eef" + - W/"19a1735290f397bc4442b5dc8508d01e" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -235,9 +235,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 8d52b6ed-b773-4fd6-8518-e13e0944fff3 + - d7059e7b-2f9b-4e1a-9903-26867294f17d X-Runtime: - - '0.026244' + - '0.026451' 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-iUgxG8WFlcPJ+sa8uOFgBg==''; + style-src ''self'' http://localhost:3000 ''nonce-vSJP/3jgKcLGkEFAlGZeuA==''; 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: - - d2cf8131-9749-48c3-9e70-d159a9b8725f + - d75b0a10-c860-4c14-aff9-5285ccfca6d4 X-Runtime: - - '0.009322' + - '0.010306' 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":"109383664751443295","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":"109383664863586758","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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":"109440137501589086","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00: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":"109440137619167380","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00: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-M/CPjP98B7qFiIr44BsnNg==''; + style-src ''self'' http://localhost:3000 ''nonce-3BQi3tnMcGK04MOA93cR7Q==''; 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/"4af9f7d117e2abb21ce1e81f7930cefd" + - W/"da6f23110852835a635c238b2bac8b76" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -351,9 +351,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - ffcb8c86-0383-4072-a9f9-a1086a6c07fd + - 89b882e3-8cae-4e82-b065-e9ba32dce932 X-Runtime: - - '0.015714' + - '0.018040' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3