aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_account_search.yaml')
-rw-r--r--tests/cassettes/test_account_search.yaml66
1 files changed, 33 insertions, 33 deletions
diff --git a/tests/cassettes/test_account_search.yaml b/tests/cassettes/test_account_search.yaml
index 7b2fb1f..bb1a829 100644
--- a/tests/cassettes/test_account_search.yaml
+++ b/tests/cassettes/test_account_search.yaml
@@ -16,14 +16,14 @@ interactions:
16 uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=0 16 uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=0
17 response: 17 response:
18 body: 18 body:
19 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,"emojis":[],"fields":[]},{"id":"109336623202117744","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":[]}]' 19 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,"emojis":[],"fields":[]},{"id":"109336899086433362","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":[]}]'
20 headers: 20 headers:
21 Cache-Control: 21 Cache-Control:
22 - no-store 22 - no-store
23 Content-Security-Policy: 23 Content-Security-Policy:
24 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 24 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
25 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 25 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
26 style-src ''self'' http://localhost:3000 ''nonce-NNmKRBklWFWHLXVR11P2Bw==''; 26 style-src ''self'' http://localhost:3000 ''nonce-hM1NrfkS/PFTxoXNRQDbKg=='';
27 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 27 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
28 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 28 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
29 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 29 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -33,7 +33,7 @@ interactions:
33 Content-Type: 33 Content-Type:
34 - application/json; charset=utf-8 34 - application/json; charset=utf-8
35 ETag: 35 ETag:
36 - W/"6559d8ba71e05f1fc4f29a4fd0db31ac" 36 - W/"1b186702db499a3f98d74e97f3c0f353"
37 Referrer-Policy: 37 Referrer-Policy:
38 - strict-origin-when-cross-origin 38 - strict-origin-when-cross-origin
39 Transfer-Encoding: 39 Transfer-Encoding:
@@ -49,16 +49,16 @@ interactions:
49 X-Permitted-Cross-Domain-Policies: 49 X-Permitted-Cross-Domain-Policies:
50 - none 50 - none
51 X-Request-Id: 51 X-Request-Id:
52 - ec6d1bcd-fa33-42ef-bd97-057e8c511e3f 52 - 0f2fe1af-6302-4a5d-b5a6-306d4e794edd
53 X-Runtime: 53 X-Runtime:
54 - '0.018322' 54 - '0.018001'
55 X-XSS-Protection: 55 X-XSS-Protection:
56 - 1; mode=block 56 - 1; mode=block
57 status: 57 status:
58 code: 200 58 code: 200
59 message: OK 59 message: OK
60- request: 60- request:
61 body: id=109336623096259500&reblogs=1 61 body: id=109336898971915318&reblogs=1&notify=0
62 headers: 62 headers:
63 Accept: 63 Accept:
64 - '*/*' 64 - '*/*'
@@ -69,23 +69,23 @@ interactions:
69 Connection: 69 Connection:
70 - keep-alive 70 - keep-alive
71 Content-Length: 71 Content-Length:
72 - '31' 72 - '40'
73 Content-Type: 73 Content-Type:
74 - application/x-www-form-urlencoded 74 - application/x-www-form-urlencoded
75 User-Agent: 75 User-Agent:
76 - tests/v311 76 - tests/v311
77 method: POST 77 method: POST
78 uri: http://localhost:3000/api/v1/accounts/109336623096259500/follow 78 uri: http://localhost:3000/api/v1/accounts/109336898971915318/follow
79 response: 79 response:
80 body: 80 body:
81 string: '{"id":"109336623096259500","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":""}' 81 string: '{"id":"109336898971915318","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":""}'
82 headers: 82 headers:
83 Cache-Control: 83 Cache-Control:
84 - no-store 84 - no-store
85 Content-Security-Policy: 85 Content-Security-Policy:
86 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 86 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
87 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 87 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
88 style-src ''self'' http://localhost:3000 ''nonce-6an5vl7UksBMotIA9ZHjFg==''; 88 style-src ''self'' http://localhost:3000 ''nonce-qxNfhCO9emd9jVgzPpLM5A=='';
89 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 89 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
90 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 90 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
91 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 91 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -95,7 +95,7 @@ interactions:
95 Content-Type: 95 Content-Type:
96 - application/json; charset=utf-8 96 - application/json; charset=utf-8
97 ETag: 97 ETag:
98 - W/"3db6c93f2af18b52d1b291d211927fba" 98 - W/"0c6748228fe729d68e4376f765e96f2f"
99 Referrer-Policy: 99 Referrer-Policy:
100 - strict-origin-when-cross-origin 100 - strict-origin-when-cross-origin
101 Transfer-Encoding: 101 Transfer-Encoding:
@@ -115,11 +115,11 @@ interactions:
115 X-RateLimit-Remaining: 115 X-RateLimit-Remaining:
116 - '399' 116 - '399'
117 X-RateLimit-Reset: 117 X-RateLimit-Reset:
118 - '2022-11-14T00:00:00.057491Z' 118 - '2022-11-14T00:00:00.480556Z'
119 X-Request-Id: 119 X-Request-Id:
120 - 06cbb807-673e-4a03-b2ad-50b60f45d626 120 - 1632a69c-d195-4644-967b-09d4e717d3f6
121 X-Runtime: 121 X-Runtime:
122 - '0.035696' 122 - '0.045604'
123 X-XSS-Protection: 123 X-XSS-Protection:
124 - 1; mode=block 124 - 1; mode=block
125 status: 125 status:
@@ -142,14 +142,14 @@ interactions:
142 uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=1 142 uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=1
143 response: 143 response:
144 body: 144 body:
145 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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}]' 145 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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}]'
146 headers: 146 headers:
147 Cache-Control: 147 Cache-Control:
148 - no-store 148 - no-store
149 Content-Security-Policy: 149 Content-Security-Policy:
150 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 150 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
151 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 151 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
152 style-src ''self'' http://localhost:3000 ''nonce-/sOheJsQGDTazKPGFVaruA==''; 152 style-src ''self'' http://localhost:3000 ''nonce-+ztzGhgxXtvr7nS+lBsIrg=='';
153 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 153 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
154 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 154 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
155 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 155 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -159,7 +159,7 @@ interactions:
159 Content-Type: 159 Content-Type:
160 - application/json; charset=utf-8 160 - application/json; charset=utf-8
161 ETag: 161 ETag:
162 - W/"9816e3f5c9612e7a311f7f27c514202f" 162 - W/"f56dd4acf7c0c299e1d42a2d7c0c520b"
163 Referrer-Policy: 163 Referrer-Policy:
164 - strict-origin-when-cross-origin 164 - strict-origin-when-cross-origin
165 Transfer-Encoding: 165 Transfer-Encoding:
@@ -175,9 +175,9 @@ interactions:
175 X-Permitted-Cross-Domain-Policies: 175 X-Permitted-Cross-Domain-Policies:
176 - none 176 - none
177 X-Request-Id: 177 X-Request-Id:
178 - e48d58d4-074e-460a-ba51-558c5df86566 178 - d22e7278-70fd-42d8-a6ec-0f8020f3cd53
179 X-Runtime: 179 X-Runtime:
180 - '0.010544' 180 - '0.012074'
181 X-XSS-Protection: 181 X-XSS-Protection:
182 - 1; mode=block 182 - 1; mode=block
183 status: 183 status:
@@ -199,17 +199,17 @@ interactions:
199 User-Agent: 199 User-Agent:
200 - tests/v311 200 - tests/v311
201 method: POST 201 method: POST
202 uri: http://localhost:3000/api/v1/accounts/109336623096259500/unfollow 202 uri: http://localhost:3000/api/v1/accounts/109336898971915318/unfollow
203 response: 203 response:
204 body: 204 body:
205 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":""}' 205 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":""}'
206 headers: 206 headers:
207 Cache-Control: 207 Cache-Control:
208 - no-store 208 - no-store
209 Content-Security-Policy: 209 Content-Security-Policy:
210 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 210 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
211 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 211 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
212 style-src ''self'' http://localhost:3000 ''nonce-Sg9uVrvc82Zo+p0gFG3LTw==''; 212 style-src ''self'' http://localhost:3000 ''nonce-9F2EcEvGOog3jcb6VpWudA=='';
213 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 213 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
214 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 214 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
215 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 215 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -219,7 +219,7 @@ interactions:
219 Content-Type: 219 Content-Type:
220 - application/json; charset=utf-8 220 - application/json; charset=utf-8
221 ETag: 221 ETag:
222 - W/"945f7c7731010ff2bfa8f3f3889c235c" 222 - W/"b9dd6d5b54697012fa8e870d86d958d3"
223 Referrer-Policy: 223 Referrer-Policy:
224 - strict-origin-when-cross-origin 224 - strict-origin-when-cross-origin
225 Transfer-Encoding: 225 Transfer-Encoding:
@@ -235,9 +235,9 @@ interactions:
235 X-Permitted-Cross-Domain-Policies: 235 X-Permitted-Cross-Domain-Policies:
236 - none 236 - none
237 X-Request-Id: 237 X-Request-Id:
238 - ebbb5a41-9e92-4387-bc60-f2431caacb0b 238 - 0becb411-9805-445b-9b93-c990025be0b9
239 X-Runtime: 239 X-Runtime:
240 - '0.022067' 240 - '0.022377'
241 X-XSS-Protection: 241 X-XSS-Protection:
242 - 1; mode=block 242 - 1; mode=block
243 status: 243 status:
@@ -267,7 +267,7 @@ interactions:
267 Content-Security-Policy: 267 Content-Security-Policy:
268 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 268 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
269 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 269 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
270 style-src ''self'' http://localhost:3000 ''nonce-p0shRxwzCOTjNx0WwUtOag==''; 270 style-src ''self'' http://localhost:3000 ''nonce-aWvm9MR1Vb9ns6zyD5U78g=='';
271 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 271 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
272 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 272 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
273 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 273 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -293,9 +293,9 @@ interactions:
293 X-Permitted-Cross-Domain-Policies: 293 X-Permitted-Cross-Domain-Policies:
294 - none 294 - none
295 X-Request-Id: 295 X-Request-Id:
296 - 9554335d-2ded-4357-bb2e-3910a7944f8b 296 - 515f5bc4-55a2-4fa4-83a0-8ceea95647fe
297 X-Runtime: 297 X-Runtime:
298 - '0.008133' 298 - '0.008051'
299 X-XSS-Protection: 299 X-XSS-Protection:
300 - 1; mode=block 300 - 1; mode=block
301 status: 301 status:
@@ -318,14 +318,14 @@ interactions:
318 uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=0 318 uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=0
319 response: 319 response:
320 body: 320 body:
321 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,"emojis":[],"fields":[]},{"id":"109336623202117744","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":[]}]' 321 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,"emojis":[],"fields":[]},{"id":"109336899086433362","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":[]}]'
322 headers: 322 headers:
323 Cache-Control: 323 Cache-Control:
324 - no-store 324 - no-store
325 Content-Security-Policy: 325 Content-Security-Policy:
326 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 326 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
327 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 327 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
328 style-src ''self'' http://localhost:3000 ''nonce-5vujyoOgnIMK46RehbuvwA==''; 328 style-src ''self'' http://localhost:3000 ''nonce-7H7XbzH4x8pFWp7cMwCkyw=='';
329 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 329 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
330 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 330 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
331 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 331 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -335,7 +335,7 @@ interactions:
335 Content-Type: 335 Content-Type:
336 - application/json; charset=utf-8 336 - application/json; charset=utf-8
337 ETag: 337 ETag:
338 - W/"6559d8ba71e05f1fc4f29a4fd0db31ac" 338 - W/"1b186702db499a3f98d74e97f3c0f353"
339 Referrer-Policy: 339 Referrer-Policy:
340 - strict-origin-when-cross-origin 340 - strict-origin-when-cross-origin
341 Transfer-Encoding: 341 Transfer-Encoding:
@@ -351,9 +351,9 @@ interactions:
351 X-Permitted-Cross-Domain-Policies: 351 X-Permitted-Cross-Domain-Policies:
352 - none 352 - none
353 X-Request-Id: 353 X-Request-Id:
354 - ddc056a0-3143-4200-b417-47ab04bf1624 354 - 96d8685c-f42c-4034-a261-815731bba43f
355 X-Runtime: 355 X-Runtime:
356 - '0.012929' 356 - '0.012444'
357 X-XSS-Protection: 357 X-XSS-Protection:
358 - 1; mode=block 358 - 1; mode=block
359 status: 359 status:
Powered by cgit v1.2.3 (git 2.41.0)