aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_follow_request_authorize.yaml')
-rw-r--r--tests/cassettes/test_follow_request_authorize.yaml62
1 files changed, 31 insertions, 31 deletions
diff --git a/tests/cassettes/test_follow_request_authorize.yaml b/tests/cassettes/test_follow_request_authorize.yaml
index 3a4a709..3606f00 100644
--- a/tests/cassettes/test_follow_request_authorize.yaml
+++ b/tests/cassettes/test_follow_request_authorize.yaml
@@ -16,9 +16,9 @@ interactions:
16 uri: http://localhost:3000/api/v1/accounts/verify_credentials 16 uri: http://localhost:3000/api/v1/accounts/verify_credentials
17 response: 17 response:
18 body: 18 body:
19 string: '{"id":"109383664973470793","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 19 string: '{"id":"109440137734600341","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
20 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00:00:00.000Z","note":"\u003cp\u003eI 20 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00:00:00.000Z","note":"\u003cp\u003eI
21 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/383/664/973/470/793/original/2960918a2a94fe6d.jpg","header":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/383/664/973/470/793/original/a9a79058f61f48e3.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-21","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I 21 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/440/137/734/600/341/original/1fa6adb0173e410e.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/440/137/734/600/341/original/1fa6adb0173e410e.jpg","header":"http://localhost:3000/system/accounts/headers/109/440/137/734/600/341/original/96de51cc44c4a5d9.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/440/137/734/600/341/original/96de51cc44c4a5d9.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-12-01","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I
22 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}}' 22 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}}'
23 headers: 23 headers:
24 Cache-Control: 24 Cache-Control:
@@ -26,7 +26,7 @@ interactions:
26 Content-Security-Policy: 26 Content-Security-Policy:
27 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 27 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
28 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 28 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
29 style-src ''self'' http://localhost:3000 ''nonce-WsRVOliNEpr1X6iAXpBBRg==''; 29 style-src ''self'' http://localhost:3000 ''nonce-KvVN4MzZnyRudzAJIMen1Q=='';
30 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 30 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
31 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 31 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
32 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 32 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -36,7 +36,7 @@ interactions:
36 Content-Type: 36 Content-Type:
37 - application/json; charset=utf-8 37 - application/json; charset=utf-8
38 ETag: 38 ETag:
39 - W/"f0c1c17f03ff9c89bb3e36a614ea0c31" 39 - W/"b4d1f1ecf7a540a4d5cd551e1c4e2363"
40 Referrer-Policy: 40 Referrer-Policy:
41 - strict-origin-when-cross-origin 41 - strict-origin-when-cross-origin
42 Transfer-Encoding: 42 Transfer-Encoding:
@@ -52,9 +52,9 @@ interactions:
52 X-Permitted-Cross-Domain-Policies: 52 X-Permitted-Cross-Domain-Policies:
53 - none 53 - none
54 X-Request-Id: 54 X-Request-Id:
55 - ccb168cf-67e6-4967-a542-4a03b2edb8db 55 - 141ee1a8-18cf-4b35-8038-7b6585d94048
56 X-Runtime: 56 X-Runtime:
57 - '0.012907' 57 - '0.014229'
58 X-XSS-Protection: 58 X-XSS-Protection:
59 - 1; mode=block 59 - 1; mode=block
60 status: 60 status:
@@ -78,17 +78,17 @@ interactions:
78 User-Agent: 78 User-Agent:
79 - tests/v311 79 - tests/v311
80 method: POST 80 method: POST
81 uri: http://localhost:3000/api/v1/accounts/109383664973470793/follow 81 uri: http://localhost:3000/api/v1/accounts/109440137734600341/follow
82 response: 82 response:
83 body: 83 body:
84 string: '{"id":"109383664973470793","following":false,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":true,"domain_blocking":false,"endorsed":false,"note":""}' 84 string: '{"id":"109440137734600341","following":false,"showing_reblogs":true,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":true,"domain_blocking":false,"endorsed":false,"note":""}'
85 headers: 85 headers:
86 Cache-Control: 86 Cache-Control:
87 - no-store 87 - no-store
88 Content-Security-Policy: 88 Content-Security-Policy:
89 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 89 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
90 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 90 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
91 style-src ''self'' http://localhost:3000 ''nonce-kPfGOez5+f/GghaC3SCjLA==''; 91 style-src ''self'' http://localhost:3000 ''nonce-PhMpHHi4OzJ19BHeq0K2sg=='';
92 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 92 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
93 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 93 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
94 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 94 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -98,7 +98,7 @@ interactions:
98 Content-Type: 98 Content-Type:
99 - application/json; charset=utf-8 99 - application/json; charset=utf-8
100 ETag: 100 ETag:
101 - W/"8bf853cb868ace98faebf87441e713c6" 101 - W/"79c9db360460315339a57b5e53e967f8"
102 Referrer-Policy: 102 Referrer-Policy:
103 - strict-origin-when-cross-origin 103 - strict-origin-when-cross-origin
104 Transfer-Encoding: 104 Transfer-Encoding:
@@ -118,11 +118,11 @@ interactions:
118 X-RateLimit-Remaining: 118 X-RateLimit-Remaining:
119 - '399' 119 - '399'
120 X-RateLimit-Reset: 120 X-RateLimit-Reset:
121 - '2022-11-22T00:00:00.478973Z' 121 - '2022-12-02T00:00:00.669027Z'
122 X-Request-Id: 122 X-Request-Id:
123 - c6e275d7-f99f-4044-b067-0b7cb89912ef 123 - 6936762b-f5fe-4453-ad2d-0c5df7af6e85
124 X-Runtime: 124 X-Runtime:
125 - '0.027657' 125 - '0.023817'
126 X-XSS-Protection: 126 X-XSS-Protection:
127 - 1; mode=block 127 - 1; mode=block
128 status: 128 status:
@@ -145,14 +145,14 @@ interactions:
145 uri: http://localhost:3000/api/v1/follow_requests 145 uri: http://localhost:3000/api/v1/follow_requests
146 response: 146 response:
147 body: 147 body:
148 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":"2022-11-21","noindex":false,"emojis":[],"fields":[]}]' 148 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":"2022-12-01","noindex":false,"emojis":[],"fields":[]}]'
149 headers: 149 headers:
150 Cache-Control: 150 Cache-Control:
151 - no-store 151 - no-store
152 Content-Security-Policy: 152 Content-Security-Policy:
153 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 153 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
154 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 154 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
155 style-src ''self'' http://localhost:3000 ''nonce-ONY35E9TUR4GSDNvglU7xg==''; 155 style-src ''self'' http://localhost:3000 ''nonce-8Y8lW8AQZHuG5PRDPnKxDg=='';
156 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 156 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
157 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 157 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
158 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 158 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -162,7 +162,7 @@ interactions:
162 Content-Type: 162 Content-Type:
163 - application/json; charset=utf-8 163 - application/json; charset=utf-8
164 ETag: 164 ETag:
165 - W/"45b0721f6d5a39c82d26b58fb3460681" 165 - W/"8757c56bf0dee6164be75e53896b027b"
166 Link: 166 Link:
167 - <http://localhost:3000/api/v1/follow_requests?since_id=1>; rel="prev" 167 - <http://localhost:3000/api/v1/follow_requests?since_id=1>; rel="prev"
168 Referrer-Policy: 168 Referrer-Policy:
@@ -180,9 +180,9 @@ interactions:
180 X-Permitted-Cross-Domain-Policies: 180 X-Permitted-Cross-Domain-Policies:
181 - none 181 - none
182 X-Request-Id: 182 X-Request-Id:
183 - 410761dc-902b-435b-a1c7-aaaf3be76406 183 - 6c05ff1d-c71e-4600-b764-561e017b5c27
184 X-Runtime: 184 X-Runtime:
185 - '0.014428' 185 - '0.018729'
186 X-XSS-Protection: 186 X-XSS-Protection:
187 - 1; mode=block 187 - 1; mode=block
188 status: 188 status:
@@ -204,10 +204,10 @@ interactions:
204 User-Agent: 204 User-Agent:
205 - tests/v311 205 - tests/v311
206 method: POST 206 method: POST
207 uri: http://localhost:3000/api/v1/follow_requests/109383664751443295/authorize 207 uri: http://localhost:3000/api/v1/follow_requests/109440137501589086/authorize
208 response: 208 response:
209 body: 209 body:
210 string: '{"id":"109383664751443295","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":true,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top 210 string: '{"id":"109440137501589086","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":true,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top
211 ebayer gerne wieder"}' 211 ebayer gerne wieder"}'
212 headers: 212 headers:
213 Cache-Control: 213 Cache-Control:
@@ -215,7 +215,7 @@ interactions:
215 Content-Security-Policy: 215 Content-Security-Policy:
216 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 216 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
217 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 217 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
218 style-src ''self'' http://localhost:3000 ''nonce-Z6xgyZYrm9SMxgHVQRGHfA==''; 218 style-src ''self'' http://localhost:3000 ''nonce-08CUarE5BN60lnFe1oD+Zw=='';
219 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 219 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
220 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 220 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
221 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 221 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -225,7 +225,7 @@ interactions:
225 Content-Type: 225 Content-Type:
226 - application/json; charset=utf-8 226 - application/json; charset=utf-8
227 ETag: 227 ETag:
228 - W/"c04f6be6a0ef28c4fa28c90be085b3f2" 228 - W/"fd9569aff4cf59d1a718a8b315f1496f"
229 Referrer-Policy: 229 Referrer-Policy:
230 - strict-origin-when-cross-origin 230 - strict-origin-when-cross-origin
231 Transfer-Encoding: 231 Transfer-Encoding:
@@ -241,9 +241,9 @@ interactions:
241 X-Permitted-Cross-Domain-Policies: 241 X-Permitted-Cross-Domain-Policies:
242 - none 242 - none
243 X-Request-Id: 243 X-Request-Id:
244 - 8207ec37-2155-4047-9fbe-ec474607d844 244 - a07dd654-045c-4376-8e39-db28bb7aa21a
245 X-Runtime: 245 X-Runtime:
246 - '0.039781' 246 - '0.034443'
247 X-XSS-Protection: 247 X-XSS-Protection:
248 - 1; mode=block 248 - 1; mode=block
249 status: 249 status:
@@ -265,17 +265,17 @@ interactions:
265 User-Agent: 265 User-Agent:
266 - tests/v311 266 - tests/v311
267 method: POST 267 method: POST
268 uri: http://localhost:3000/api/v1/accounts/109383664973470793/unfollow 268 uri: http://localhost:3000/api/v1/accounts/109440137734600341/unfollow
269 response: 269 response:
270 body: 270 body:
271 string: '{"id":"109383664973470793","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":""}' 271 string: '{"id":"109440137734600341","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":""}'
272 headers: 272 headers:
273 Cache-Control: 273 Cache-Control:
274 - no-store 274 - no-store
275 Content-Security-Policy: 275 Content-Security-Policy:
276 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 276 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
277 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 277 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
278 style-src ''self'' http://localhost:3000 ''nonce-RIw7w2pklUpsF4bey/1oZA==''; 278 style-src ''self'' http://localhost:3000 ''nonce-h83nbE55uBMpBnXz+U3ADQ=='';
279 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 279 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
280 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 280 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
281 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 281 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -285,7 +285,7 @@ interactions:
285 Content-Type: 285 Content-Type:
286 - application/json; charset=utf-8 286 - application/json; charset=utf-8
287 ETag: 287 ETag:
288 - W/"37793d4f68e5fe4f752f10e8ffd35164" 288 - W/"6ad3d4f38bad5f3ddf7f108290c8f81f"
289 Referrer-Policy: 289 Referrer-Policy:
290 - strict-origin-when-cross-origin 290 - strict-origin-when-cross-origin
291 Transfer-Encoding: 291 Transfer-Encoding:
@@ -301,9 +301,9 @@ interactions:
301 X-Permitted-Cross-Domain-Policies: 301 X-Permitted-Cross-Domain-Policies:
302 - none 302 - none
303 X-Request-Id: 303 X-Request-Id:
304 - 1c2200be-cd49-4816-a470-00b1bbdf0df8 304 - 98d66bbb-48a4-4874-aa70-1c95d0ddf6a2
305 X-Runtime: 305 X-Runtime:
306 - '0.018445' 306 - '0.018419'
307 X-XSS-Protection: 307 X-XSS-Protection:
308 - 1; mode=block 308 - 1; mode=block
309 status: 309 status:
Powered by cgit v1.2.3 (git 2.41.0)