aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_account_search.yaml')
-rw-r--r--tests/cassettes/test_account_search.yaml64
1 files changed, 32 insertions, 32 deletions
diff --git a/tests/cassettes/test_account_search.yaml b/tests/cassettes/test_account_search.yaml
index 5741866..7b2fb1f 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":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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":"109304269014359623","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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":"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":[]}]'
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-WKi5q1RFqJGmUXfz617LGA==''; 26 style-src ''self'' http://localhost:3000 ''nonce-NNmKRBklWFWHLXVR11P2Bw=='';
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/"9d40ff78e58c025babacba6435e8062d" 36 - W/"6559d8ba71e05f1fc4f29a4fd0db31ac"
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 - 489d442c-d189-4b9e-84c0-56f7c511e285 52 - ec6d1bcd-fa33-42ef-bd97-057e8c511e3f
53 X-Runtime: 53 X-Runtime:
54 - '0.018054' 54 - '0.018322'
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=109304268902557892&reblogs=1 61 body: id=109336623096259500&reblogs=1
62 headers: 62 headers:
63 Accept: 63 Accept:
64 - '*/*' 64 - '*/*'
@@ -75,17 +75,17 @@ interactions:
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/109304268902557892/follow 78 uri: http://localhost:3000/api/v1/accounts/109336623096259500/follow
79 response: 79 response:
80 body: 80 body:
81 string: '{"id":"109304268902557892","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":"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":""}'
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-jv/tfqhgSza5mG08tBjf+Q==''; 88 style-src ''self'' http://localhost:3000 ''nonce-6an5vl7UksBMotIA9ZHjFg=='';
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/"328aa28d0debfcbfaef3df0c7630cbd8" 98 - W/"3db6c93f2af18b52d1b291d211927fba"
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-08T00:00:00.476843Z' 118 - '2022-11-14T00:00:00.057491Z'
119 X-Request-Id: 119 X-Request-Id:
120 - 490f32a6-1eea-4752-9f78-7351e63026f6 120 - 06cbb807-673e-4a03-b2ad-50b60f45d626
121 X-Runtime: 121 X-Runtime:
122 - '0.041076' 122 - '0.035696'
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":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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":"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":[]}]'
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-U6XW3vCer9xbdR0yGpvX8A==''; 152 style-src ''self'' http://localhost:3000 ''nonce-/sOheJsQGDTazKPGFVaruA=='';
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/"556f11080e4d8472f8e5c4076996220f" 162 - W/"9816e3f5c9612e7a311f7f27c514202f"
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 - 32d6efa6-9c5e-499f-80cc-74a31f4b3268 178 - e48d58d4-074e-460a-ba51-558c5df86566
179 X-Runtime: 179 X-Runtime:
180 - '0.011128' 180 - '0.010544'
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/109304268902557892/unfollow 202 uri: http://localhost:3000/api/v1/accounts/109336623096259500/unfollow
203 response: 203 response:
204 body: 204 body:
205 string: '{"id":"109304268902557892","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":"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":""}'
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-gQaoWB24+tCIxqQpAy1arQ==''; 212 style-src ''self'' http://localhost:3000 ''nonce-Sg9uVrvc82Zo+p0gFG3LTw=='';
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/"8d8caa68e50963507d45a12d820e86b0" 222 - W/"945f7c7731010ff2bfa8f3f3889c235c"
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 - 7c1b595f-bce5-4741-9f03-f659291b0f8e 238 - ebbb5a41-9e92-4387-bc60-f2431caacb0b
239 X-Runtime: 239 X-Runtime:
240 - '0.027772' 240 - '0.022067'
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-53WGcwfKqNPWoXIomO2WGQ==''; 270 style-src ''self'' http://localhost:3000 ''nonce-p0shRxwzCOTjNx0WwUtOag=='';
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 - 7c140e61-8992-4e88-8f04-64f2115eb4d0 296 - 9554335d-2ded-4357-bb2e-3910a7944f8b
297 X-Runtime: 297 X-Runtime:
298 - '0.008027' 298 - '0.008133'
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":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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":"109304269014359623","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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":"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":[]}]'
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-i/+FesdIvckAgpyVNXF1EA==''; 328 style-src ''self'' http://localhost:3000 ''nonce-5vujyoOgnIMK46RehbuvwA=='';
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/"9d40ff78e58c025babacba6435e8062d" 338 - W/"6559d8ba71e05f1fc4f29a4fd0db31ac"
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 - 8141afa5-dff9-495d-a3af-c39de3f3113a 354 - ddc056a0-3143-4200-b417-47ab04bf1624
355 X-Runtime: 355 X-Runtime:
356 - '0.014470' 356 - '0.012929'
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)