diff options
Diffstat (limited to 'tests/cassettes/test_follow_request_reject.yaml')
-rw-r--r-- | tests/cassettes/test_follow_request_reject.yaml | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/tests/cassettes/test_follow_request_reject.yaml b/tests/cassettes/test_follow_request_reject.yaml index 3eac833..6957188 100644 --- a/tests/cassettes/test_follow_request_reject.yaml +++ b/tests/cassettes/test_follow_request_reject.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":"109336899193569236","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 19 | string: '{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
20 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 20 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00: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/336/899/193/569/236/original/e639fe005819e5b9.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/899/193/569/236/original/e639fe005819e5b9.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/899/193/569/236/original/26075346d9e9e361.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-13","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/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-13","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-bJEq+PvBZnBQgSS277NDeA==''; | 29 | style-src ''self'' http://localhost:3000 ''nonce-53ovGC5CT7ARvkG8Ltivjg==''; |
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/"12b0e62e0e0f32f20325022e5ba56fd0" | 39 | - W/"e183607239359eb978d255efb060252a" |
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,16 +52,16 @@ 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 | - 84285508-8e26-405c-905d-a99ce31f9a16 | 55 | - c1244e1a-81a5-4700-be6a-01c8acdaa8dc |
56 | X-Runtime: | 56 | X-Runtime: |
57 | - '0.019226' | 57 | - '0.013148' |
58 | X-XSS-Protection: | 58 | X-XSS-Protection: |
59 | - 1; mode=block | 59 | - 1; mode=block |
60 | status: | 60 | status: |
61 | code: 200 | 61 | code: 200 |
62 | message: OK | 62 | message: OK |
63 | - request: | 63 | - request: |
64 | body: id=109336899193569236&reblogs=1¬ify=0 | 64 | body: id=109337440686176140&reblogs=1¬ify=0 |
65 | headers: | 65 | headers: |
66 | Accept: | 66 | Accept: |
67 | - '*/*' | 67 | - '*/*' |
@@ -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/109336899193569236/follow | 81 | uri: http://localhost:3000/api/v1/accounts/109337440686176140/follow |
82 | response: | 82 | response: |
83 | body: | 83 | body: |
84 | string: '{"id":"109336899193569236","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":"109337440686176140","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-yoooYKM1jV3AAw3Q3/L77w==''; | 91 | style-src ''self'' http://localhost:3000 ''nonce-wxAD022XYhUQWBh4A2jbKg==''; |
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/"91575c89c797a5fe1b723d49bff64b84" | 101 | - W/"a965641500bbdf4e2106897685d8cafa" |
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 | - '398' | 119 | - '398' |
120 | X-RateLimit-Reset: | 120 | X-RateLimit-Reset: |
121 | - '2022-11-14T00:00:00.015163Z' | 121 | - '2022-11-14T00:00:00.935356Z' |
122 | X-Request-Id: | 122 | X-Request-Id: |
123 | - 5eab3935-6f8c-4095-afb2-f4895c49c379 | 123 | - 6093e66b-4ae5-45e3-a0ff-c47a519ca532 |
124 | X-Runtime: | 124 | X-Runtime: |
125 | - '0.019101' | 125 | - '0.020000' |
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":"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":"2022-11-13","noindex":false,"emojis":[],"fields":[]}]' | 148 | 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":"2022-11-13","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-TND8wRqeUHxaxyNk7uRWPA==''; | 155 | style-src ''self'' http://localhost:3000 ''nonce-kvZMV+kh3iUhtImE9AXvxA==''; |
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/"86387c8dbe9ed6a9fbfb7321a2ec0636" | 165 | - W/"e35238cca589e7744c643a3e10c9010b" |
166 | Link: | 166 | Link: |
167 | - <http://localhost:3000/api/v1/follow_requests?since_id=2>; rel="prev" | 167 | - <http://localhost:3000/api/v1/follow_requests?since_id=2>; 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 | - 17494d85-a0b6-41a6-a8d1-ecdb5dc2ce66 | 183 | - de3e6ad8-2072-4a83-8238-4fb455b09e4a |
184 | X-Runtime: | 184 | X-Runtime: |
185 | - '0.012626' | 185 | - '0.014281' |
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/109336898971915318/reject | 207 | uri: http://localhost:3000/api/v1/follow_requests/109337440467895233/reject |
208 | response: | 208 | response: |
209 | body: | 209 | body: |
210 | 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":"top | 210 | 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":"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-4jsUnY+f82F73TaP1qSBjQ==''; | 218 | style-src ''self'' http://localhost:3000 ''nonce-I+wEoTjvlhN5+BBhquRUTg==''; |
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/"a58b6931bdf80070edebc5580f3ddc28" | 228 | - W/"d7e89095e63ccdec6921fcd4a7c80890" |
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 | - 48b282c5-ea00-49cf-8bcd-6541ab61c6b5 | 244 | - 6ea01804-7a6c-4896-83d6-ad22fdaf86b7 |
245 | X-Runtime: | 245 | X-Runtime: |
246 | - '0.024205' | 246 | - '0.026907' |
247 | X-XSS-Protection: | 247 | X-XSS-Protection: |
248 | - 1; mode=block | 248 | - 1; mode=block |
249 | status: | 249 | status: |