diff options
Diffstat (limited to 'tests/cassettes/test_account_mute_unmute.yaml')
-rw-r--r-- | tests/cassettes/test_account_mute_unmute.yaml | 62 |
1 files changed, 33 insertions, 29 deletions
diff --git a/tests/cassettes/test_account_mute_unmute.yaml b/tests/cassettes/test_account_mute_unmute.yaml index 401e5c7..4e22f4f 100644 --- a/tests/cassettes/test_account_mute_unmute.yaml +++ b/tests/cassettes/test_account_mute_unmute.yaml | |||
@@ -16,14 +16,14 @@ 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":"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":null,"noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' | 19 | string: '{"id":"109367691027217373","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00: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":3,"last_status_at":"2022-11-19","noindex":false,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[],"role":{"id":"3","name":"Owner","permissions":"1048575","color":"","highlighted":true}}' |
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-zLuc9r2yPJFzBQPtfXtdiQ==''; | 26 | style-src ''self'' http://localhost:3000 ''nonce-zx+LcgYVF6ynJn8WqqEdAQ==''; |
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/"91cc35ca6300f8fcd18839f0f85f1152" | 36 | - W/"cd90748377643284919b5707f339a007" |
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,9 +49,9 @@ 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 | - cfcccb58-95f0-4f5f-af44-9fb4790a0f39 | 52 | - bdaf5873-1218-49d6-b193-4f096755589c |
53 | X-Runtime: | 53 | X-Runtime: |
54 | - '0.011573' | 54 | - '0.013090' |
55 | X-XSS-Protection: | 55 | X-XSS-Protection: |
56 | - 1; mode=block | 56 | - 1; mode=block |
57 | status: | 57 | status: |
@@ -75,17 +75,18 @@ 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/109337440467895233/mute | 78 | uri: http://localhost:3000/api/v1/accounts/109367691027217373/mute |
79 | response: | 79 | response: |
80 | body: | 80 | body: |
81 | string: '{"id":"109337440467895233","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' | 81 | string: '{"id":"109367691027217373","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top |
82 | ebayer gerne wieder"}' | ||
82 | headers: | 83 | headers: |
83 | Cache-Control: | 84 | Cache-Control: |
84 | - no-store | 85 | - no-store |
85 | Content-Security-Policy: | 86 | Content-Security-Policy: |
86 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 87 | - '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; | 88 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
88 | style-src ''self'' http://localhost:3000 ''nonce-MxUtnBmk34liLGqQUYFArA==''; | 89 | style-src ''self'' http://localhost:3000 ''nonce-MfXWLrv/u8l0RPyuI4E4kQ==''; |
89 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 90 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
90 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 91 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
91 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 92 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -95,7 +96,7 @@ interactions: | |||
95 | Content-Type: | 96 | Content-Type: |
96 | - application/json; charset=utf-8 | 97 | - application/json; charset=utf-8 |
97 | ETag: | 98 | ETag: |
98 | - W/"a439543d371ecacf11644d88483399bb" | 99 | - W/"aafd6a611d5fed6b2cf8a0fecc907066" |
99 | Referrer-Policy: | 100 | Referrer-Policy: |
100 | - strict-origin-when-cross-origin | 101 | - strict-origin-when-cross-origin |
101 | Transfer-Encoding: | 102 | Transfer-Encoding: |
@@ -111,9 +112,9 @@ interactions: | |||
111 | X-Permitted-Cross-Domain-Policies: | 112 | X-Permitted-Cross-Domain-Policies: |
112 | - none | 113 | - none |
113 | X-Request-Id: | 114 | X-Request-Id: |
114 | - 90479dfb-cfa7-498a-b84c-133eb617774c | 115 | - c7d05f42-3a19-498c-9531-2f38d95fbd10 |
115 | X-Runtime: | 116 | X-Runtime: |
116 | - '0.019411' | 117 | - '0.026572' |
117 | X-XSS-Protection: | 118 | X-XSS-Protection: |
118 | - 1; mode=block | 119 | - 1; mode=block |
119 | status: | 120 | status: |
@@ -135,17 +136,18 @@ interactions: | |||
135 | User-Agent: | 136 | User-Agent: |
136 | - tests/v311 | 137 | - tests/v311 |
137 | method: POST | 138 | method: POST |
138 | uri: http://localhost:3000/api/v1/accounts/109337440467895233/unmute | 139 | uri: http://localhost:3000/api/v1/accounts/109367691027217373/unmute |
139 | response: | 140 | response: |
140 | body: | 141 | body: |
141 | 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":""}' | 142 | string: '{"id":"109367691027217373","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 |
143 | ebayer gerne wieder"}' | ||
142 | headers: | 144 | headers: |
143 | Cache-Control: | 145 | Cache-Control: |
144 | - no-store | 146 | - no-store |
145 | Content-Security-Policy: | 147 | Content-Security-Policy: |
146 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 148 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
147 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 149 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
148 | style-src ''self'' http://localhost:3000 ''nonce-D3Phm5htCDjYqy+GKjj6pA==''; | 150 | style-src ''self'' http://localhost:3000 ''nonce-kRAgx6UIBcEsUUun7pf1QQ==''; |
149 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 151 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
150 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 152 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
151 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 153 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -155,7 +157,7 @@ interactions: | |||
155 | Content-Type: | 157 | Content-Type: |
156 | - application/json; charset=utf-8 | 158 | - application/json; charset=utf-8 |
157 | ETag: | 159 | ETag: |
158 | - W/"214f278429bf712708e952ee2355bf5e" | 160 | - W/"08cbbe52317052ef8ec82a9714a02c24" |
159 | Referrer-Policy: | 161 | Referrer-Policy: |
160 | - strict-origin-when-cross-origin | 162 | - strict-origin-when-cross-origin |
161 | Transfer-Encoding: | 163 | Transfer-Encoding: |
@@ -171,9 +173,9 @@ interactions: | |||
171 | X-Permitted-Cross-Domain-Policies: | 173 | X-Permitted-Cross-Domain-Policies: |
172 | - none | 174 | - none |
173 | X-Request-Id: | 175 | X-Request-Id: |
174 | - 927feed7-3278-4cfc-aecd-f6af9a260ffb | 176 | - 3ada952a-02d6-4cdd-8df7-e575387b5a03 |
175 | X-Runtime: | 177 | X-Runtime: |
176 | - '0.015023' | 178 | - '0.014948' |
177 | X-XSS-Protection: | 179 | X-XSS-Protection: |
178 | - 1; mode=block | 180 | - 1; mode=block |
179 | status: | 181 | status: |
@@ -197,17 +199,18 @@ interactions: | |||
197 | User-Agent: | 199 | User-Agent: |
198 | - tests/v311 | 200 | - tests/v311 |
199 | method: POST | 201 | method: POST |
200 | uri: http://localhost:3000/api/v1/accounts/109337440467895233/mute | 202 | uri: http://localhost:3000/api/v1/accounts/109367691027217373/mute |
201 | response: | 203 | response: |
202 | body: | 204 | body: |
203 | string: '{"id":"109337440467895233","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' | 205 | string: '{"id":"109367691027217373","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":false,"blocked_by":false,"muting":true,"muting_notifications":true,"requested":false,"domain_blocking":false,"endorsed":false,"note":"top |
206 | ebayer gerne wieder"}' | ||
204 | headers: | 207 | headers: |
205 | Cache-Control: | 208 | Cache-Control: |
206 | - no-store | 209 | - no-store |
207 | Content-Security-Policy: | 210 | Content-Security-Policy: |
208 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 211 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
209 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 212 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
210 | style-src ''self'' http://localhost:3000 ''nonce-n/afPgqa83jlafc9HRyeAA==''; | 213 | style-src ''self'' http://localhost:3000 ''nonce-Qpxt+5hrC3v0k7/TYn3UcQ==''; |
211 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 214 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
212 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 215 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
213 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 216 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -217,7 +220,7 @@ interactions: | |||
217 | Content-Type: | 220 | Content-Type: |
218 | - application/json; charset=utf-8 | 221 | - application/json; charset=utf-8 |
219 | ETag: | 222 | ETag: |
220 | - W/"a439543d371ecacf11644d88483399bb" | 223 | - W/"aafd6a611d5fed6b2cf8a0fecc907066" |
221 | Referrer-Policy: | 224 | Referrer-Policy: |
222 | - strict-origin-when-cross-origin | 225 | - strict-origin-when-cross-origin |
223 | Transfer-Encoding: | 226 | Transfer-Encoding: |
@@ -233,9 +236,9 @@ interactions: | |||
233 | X-Permitted-Cross-Domain-Policies: | 236 | X-Permitted-Cross-Domain-Policies: |
234 | - none | 237 | - none |
235 | X-Request-Id: | 238 | X-Request-Id: |
236 | - f445fb36-730b-463d-a117-1785805dd888 | 239 | - 03c522cd-734e-4754-ada0-d7c62b03a76c |
237 | X-Runtime: | 240 | X-Runtime: |
238 | - '0.014904' | 241 | - '0.015818' |
239 | X-XSS-Protection: | 242 | X-XSS-Protection: |
240 | - 1; mode=block | 243 | - 1; mode=block |
241 | status: | 244 | status: |
@@ -255,17 +258,18 @@ interactions: | |||
255 | User-Agent: | 258 | User-Agent: |
256 | - tests/v311 | 259 | - tests/v311 |
257 | method: GET | 260 | method: GET |
258 | uri: http://localhost:3000/api/v1/accounts/relationships?id=109337440467895233 | 261 | uri: http://localhost:3000/api/v1/accounts/relationships?id=109367691027217373 |
259 | response: | 262 | response: |
260 | body: | 263 | body: |
261 | 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":""}]' | 264 | string: '[{"id":"109367691027217373","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 |
265 | ebayer gerne wieder"}]' | ||
262 | headers: | 266 | headers: |
263 | Cache-Control: | 267 | Cache-Control: |
264 | - no-store | 268 | - no-store |
265 | Content-Security-Policy: | 269 | Content-Security-Policy: |
266 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 270 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
267 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 271 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
268 | style-src ''self'' http://localhost:3000 ''nonce-c9acHNqHo8uKi7UnmfPl/g==''; | 272 | style-src ''self'' http://localhost:3000 ''nonce-MFaOQiYrJ0HbxiI+8AjIPA==''; |
269 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 273 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
270 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 274 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
271 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 275 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -275,7 +279,7 @@ interactions: | |||
275 | Content-Type: | 279 | Content-Type: |
276 | - application/json; charset=utf-8 | 280 | - application/json; charset=utf-8 |
277 | ETag: | 281 | ETag: |
278 | - W/"825fcf0975bbc891c3591f076204e15a" | 282 | - W/"5fbf03184024ab25b17c347541c9414c" |
279 | Referrer-Policy: | 283 | Referrer-Policy: |
280 | - strict-origin-when-cross-origin | 284 | - strict-origin-when-cross-origin |
281 | Transfer-Encoding: | 285 | Transfer-Encoding: |
@@ -291,9 +295,9 @@ interactions: | |||
291 | X-Permitted-Cross-Domain-Policies: | 295 | X-Permitted-Cross-Domain-Policies: |
292 | - none | 296 | - none |
293 | X-Request-Id: | 297 | X-Request-Id: |
294 | - 1d32939b-bfee-4366-80f6-8e8d9f8fd3d4 | 298 | - 75a6a0b1-9104-47cc-806f-de9ec1d01b0b |
295 | X-Runtime: | 299 | X-Runtime: |
296 | - '0.016730' | 300 | - '0.010859' |
297 | X-XSS-Protection: | 301 | X-XSS-Protection: |
298 | - 1; mode=block | 302 | - 1; mode=block |
299 | status: | 303 | status: |