diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-13 16:16:29 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-13 16:16:29 +0200 |
commit | 0e00fced99976d74e972a3c9ca5b762697840a33 (patch) | |
tree | 632f7e06d3e7d81e15f78d8821d39acf59b8301c /tests/cassettes/test_notifications_dismiss.yaml | |
parent | c66015a6b0655f865c45587095ca8744a9d61534 (diff) | |
download | mastodon.py-0e00fced99976d74e972a3c9ca5b762697840a33.tar.gz |
fix tests
Diffstat (limited to 'tests/cassettes/test_notifications_dismiss.yaml')
-rw-r--r-- | tests/cassettes/test_notifications_dismiss.yaml | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/tests/cassettes/test_notifications_dismiss.yaml b/tests/cassettes/test_notifications_dismiss.yaml index cce0e14..fea9589 100644 --- a/tests/cassettes/test_notifications_dismiss.yaml +++ b/tests/cassettes/test_notifications_dismiss.yaml | |||
@@ -20,18 +20,18 @@ interactions: | |||
20 | uri: http://localhost:3000/api/v1/statuses | 20 | uri: http://localhost:3000/api/v1/statuses |
21 | response: | 21 | response: |
22 | body: | 22 | body: |
23 | string: '{"id":"109336736463234442","created_at":"2022-11-13T13:29:58.475Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109336736463234442","url":"http://localhost:3000/@admin/109336736463234442","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan | 23 | string: '{"id":"109336906360544222","created_at":"2022-11-13T14:13:10.902Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109336906360544222","url":"http://localhost:3000/@admin/109336906360544222","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003e\u003cspan |
24 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 24 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
25 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 25 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
26 | hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 26 | hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
27 | test suite","website":null},"account":{"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":4,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109336623311102204","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' | 27 | test suite","website":null},"account":{"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":1,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109336899193569236","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' |
28 | headers: | 28 | headers: |
29 | Cache-Control: | 29 | Cache-Control: |
30 | - no-store | 30 | - no-store |
31 | Content-Security-Policy: | 31 | Content-Security-Policy: |
32 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 32 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
33 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 33 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
34 | style-src ''self'' http://localhost:3000 ''nonce-Kdm48rcOMTp/2a/sjRUHpg==''; | 34 | style-src ''self'' http://localhost:3000 ''nonce-XUgceodvIxMABL82T9BRpQ==''; |
35 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 35 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
36 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 36 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
37 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 37 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -41,7 +41,7 @@ interactions: | |||
41 | Content-Type: | 41 | Content-Type: |
42 | - application/json; charset=utf-8 | 42 | - application/json; charset=utf-8 |
43 | ETag: | 43 | ETag: |
44 | - W/"b3622f65afe74dd08cc60266bb724b58" | 44 | - W/"da33b3e01aafabf4e6a2264e43e0c6bb" |
45 | Referrer-Policy: | 45 | Referrer-Policy: |
46 | - strict-origin-when-cross-origin | 46 | - strict-origin-when-cross-origin |
47 | Transfer-Encoding: | 47 | Transfer-Encoding: |
@@ -59,13 +59,13 @@ interactions: | |||
59 | X-RateLimit-Limit: | 59 | X-RateLimit-Limit: |
60 | - '300' | 60 | - '300' |
61 | X-RateLimit-Remaining: | 61 | X-RateLimit-Remaining: |
62 | - '278' | 62 | - '296' |
63 | X-RateLimit-Reset: | 63 | X-RateLimit-Reset: |
64 | - '2022-11-13T15:00:00.499745Z' | 64 | - '2022-11-13T15:00:00.933053Z' |
65 | X-Request-Id: | 65 | X-Request-Id: |
66 | - aeb82125-6216-4444-8f52-ed73a594863f | 66 | - 034d9ad9-531b-49b9-8fd4-0b73beeea917 |
67 | X-Runtime: | 67 | X-Runtime: |
68 | - '0.035988' | 68 | - '0.043057' |
69 | X-XSS-Protection: | 69 | X-XSS-Protection: |
70 | - 1; mode=block | 70 | - 1; mode=block |
71 | status: | 71 | status: |
@@ -88,18 +88,18 @@ interactions: | |||
88 | uri: http://localhost:3000/api/v1/notifications | 88 | uri: http://localhost:3000/api/v1/notifications |
89 | response: | 89 | response: |
90 | body: | 90 | body: |
91 | string: '[{"id":"23","type":"mention","created_at":"2022-11-13T13:29:58.565Z","account":{"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":4,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109336736463234442","created_at":"2022-11-13T13:29:58.475Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109336736463234442","url":"http://localhost:3000/@admin/109336736463234442","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan | 91 | string: '[{"id":"16","type":"mention","created_at":"2022-11-13T14:13:10.993Z","account":{"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":1,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]},"status":{"id":"109336906360544222","created_at":"2022-11-13T14:13:10.902Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109336906360544222","url":"http://localhost:3000/@admin/109336906360544222","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"content":"\u003cp\u003e\u003cspan |
92 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" | 92 | class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" |
93 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e | 93 | class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e |
94 | hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 94 | hello!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
95 | test suite","website":null},"account":{"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":4,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109336623311102204","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}]' | 95 | test suite","website":null},"account":{"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":1,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109336899193569236","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}},{"id":"12","type":"follow","created_at":"2022-11-13T14:12:39.955Z","account":{"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":1,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]}}]' |
96 | headers: | 96 | headers: |
97 | Cache-Control: | 97 | Cache-Control: |
98 | - no-store | 98 | - no-store |
99 | Content-Security-Policy: | 99 | Content-Security-Policy: |
100 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 100 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
101 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 101 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
102 | style-src ''self'' http://localhost:3000 ''nonce-iN4nrD8+cXV7iqdEWIjA5Q==''; | 102 | style-src ''self'' http://localhost:3000 ''nonce-mIYwrVZFvMkxUMHAU4eWLA==''; |
103 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 103 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
104 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 104 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
105 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 105 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -109,9 +109,9 @@ interactions: | |||
109 | Content-Type: | 109 | Content-Type: |
110 | - application/json; charset=utf-8 | 110 | - application/json; charset=utf-8 |
111 | ETag: | 111 | ETag: |
112 | - W/"4baf58dd76c97345b3da7b267f6c0531" | 112 | - W/"27aabd9a3eab6f690a5e9534be20e48a" |
113 | Link: | 113 | Link: |
114 | - <http://localhost:3000/api/v1/notifications?max_id=23>; rel="next", <http://localhost:3000/api/v1/notifications?min_id=23>; | 114 | - <http://localhost:3000/api/v1/notifications?max_id=12>; rel="next", <http://localhost:3000/api/v1/notifications?min_id=16>; |
115 | rel="prev" | 115 | rel="prev" |
116 | Referrer-Policy: | 116 | Referrer-Policy: |
117 | - strict-origin-when-cross-origin | 117 | - strict-origin-when-cross-origin |
@@ -128,9 +128,9 @@ interactions: | |||
128 | X-Permitted-Cross-Domain-Policies: | 128 | X-Permitted-Cross-Domain-Policies: |
129 | - none | 129 | - none |
130 | X-Request-Id: | 130 | X-Request-Id: |
131 | - e1c891cf-2025-4f96-b0e8-ba78492ef13d | 131 | - 1d191f23-f06e-4896-a983-0627cb886623 |
132 | X-Runtime: | 132 | X-Runtime: |
133 | - '0.023606' | 133 | - '0.025512' |
134 | X-XSS-Protection: | 134 | X-XSS-Protection: |
135 | - 1; mode=block | 135 | - 1; mode=block |
136 | status: | 136 | status: |
@@ -153,14 +153,14 @@ interactions: | |||
153 | uri: http://localhost:3000/api/v1/instance/ | 153 | uri: http://localhost:3000/api/v1/instance/ |
154 | response: | 154 | response: |
155 | body: | 155 | body: |
156 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":7,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' | 156 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":2,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' |
157 | headers: | 157 | headers: |
158 | Cache-Control: | 158 | Cache-Control: |
159 | - max-age=180, public | 159 | - max-age=180, public |
160 | Content-Security-Policy: | 160 | Content-Security-Policy: |
161 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 161 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
162 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 162 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
163 | style-src ''self'' http://localhost:3000 ''nonce-f93HYmWNljV8fRYo1wH3kg==''; | 163 | style-src ''self'' http://localhost:3000 ''nonce-XSv1CnS88Dko72yK/13U9g==''; |
164 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 164 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
165 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 165 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
166 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 166 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -170,9 +170,9 @@ interactions: | |||
170 | Content-Type: | 170 | Content-Type: |
171 | - application/json; charset=utf-8 | 171 | - application/json; charset=utf-8 |
172 | Date: | 172 | Date: |
173 | - Sun, 13 Nov 2022 13:30:01 GMT | 173 | - Sun, 13 Nov 2022 14:13:13 GMT |
174 | ETag: | 174 | ETag: |
175 | - W/"6c14ac0d07842aa42335cbaf2881fd8d" | 175 | - W/"44cfc5adcf2f4e5c6e5bb3be5680f119" |
176 | Referrer-Policy: | 176 | Referrer-Policy: |
177 | - strict-origin-when-cross-origin | 177 | - strict-origin-when-cross-origin |
178 | Transfer-Encoding: | 178 | Transfer-Encoding: |
@@ -188,9 +188,9 @@ interactions: | |||
188 | X-Permitted-Cross-Domain-Policies: | 188 | X-Permitted-Cross-Domain-Policies: |
189 | - none | 189 | - none |
190 | X-Request-Id: | 190 | X-Request-Id: |
191 | - 24416733-be43-4561-b6bb-523739e7652d | 191 | - 10c00fdc-3d13-489d-9f69-0e6baf0ea1ed |
192 | X-Runtime: | 192 | X-Runtime: |
193 | - '0.012009' | 193 | - '0.012861' |
194 | X-XSS-Protection: | 194 | X-XSS-Protection: |
195 | - 1; mode=block | 195 | - 1; mode=block |
196 | status: | 196 | status: |
@@ -212,7 +212,7 @@ interactions: | |||
212 | User-Agent: | 212 | User-Agent: |
213 | - tests/v311 | 213 | - tests/v311 |
214 | method: POST | 214 | method: POST |
215 | uri: http://localhost:3000/api/v1/notifications/23/dismiss | 215 | uri: http://localhost:3000/api/v1/notifications/16/dismiss |
216 | response: | 216 | response: |
217 | body: | 217 | body: |
218 | string: '{}' | 218 | string: '{}' |
@@ -222,7 +222,7 @@ interactions: | |||
222 | Content-Security-Policy: | 222 | Content-Security-Policy: |
223 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 223 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
224 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 224 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
225 | style-src ''self'' http://localhost:3000 ''nonce-DG3HkoQV1nrR3r7RuvVETA==''; | 225 | style-src ''self'' http://localhost:3000 ''nonce-BgZYS8o4SPCdAGABGX6zmg==''; |
226 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 226 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
227 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 227 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
228 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 228 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -248,9 +248,9 @@ interactions: | |||
248 | X-Permitted-Cross-Domain-Policies: | 248 | X-Permitted-Cross-Domain-Policies: |
249 | - none | 249 | - none |
250 | X-Request-Id: | 250 | X-Request-Id: |
251 | - 6be177ab-65ee-4a9b-95d3-759d67b3e7ce | 251 | - 6ff0a0fa-089b-44a1-8fb4-56e78644878b |
252 | X-Runtime: | 252 | X-Runtime: |
253 | - '0.018239' | 253 | - '0.010451' |
254 | X-XSS-Protection: | 254 | X-XSS-Protection: |
255 | - 1; mode=block | 255 | - 1; mode=block |
256 | status: | 256 | status: |
@@ -272,19 +272,19 @@ interactions: | |||
272 | User-Agent: | 272 | User-Agent: |
273 | - tests/v311 | 273 | - tests/v311 |
274 | method: DELETE | 274 | method: DELETE |
275 | uri: http://localhost:3000/api/v1/statuses/109336736463234442 | 275 | uri: http://localhost:3000/api/v1/statuses/109336906360544222 |
276 | response: | 276 | response: |
277 | body: | 277 | body: |
278 | string: '{"id":"109336736463234442","created_at":"2022-11-13T13:29:58.475Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109336736463234442","url":"http://localhost:3000/@admin/109336736463234442","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"@mastodonpy_test | 278 | string: '{"id":"109336906360544222","created_at":"2022-11-13T14:13:10.902Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/109336906360544222","url":"http://localhost:3000/@admin/109336906360544222","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"@mastodonpy_test |
279 | hello!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test | 279 | hello!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py test |
280 | suite","website":null},"account":{"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":3,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"109336623311102204","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' | 280 | suite","website":null},"account":{"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":[]},"media_attachments":[],"mentions":[{"id":"109336899193569236","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}' |
281 | headers: | 281 | headers: |
282 | Cache-Control: | 282 | Cache-Control: |
283 | - no-store | 283 | - no-store |
284 | Content-Security-Policy: | 284 | Content-Security-Policy: |
285 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 285 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
286 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 286 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
287 | style-src ''self'' http://localhost:3000 ''nonce-expF3hORWgVjCjoe6u2WCA==''; | 287 | style-src ''self'' http://localhost:3000 ''nonce-ZP/Q672PkmYUrgWJI08bBw==''; |
288 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 288 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
289 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 289 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
290 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 290 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -294,7 +294,7 @@ interactions: | |||
294 | Content-Type: | 294 | Content-Type: |
295 | - application/json; charset=utf-8 | 295 | - application/json; charset=utf-8 |
296 | ETag: | 296 | ETag: |
297 | - W/"aca2dde40239b50d949f3c4522d9ca5c" | 297 | - W/"139e4ad6db08163b4ecf7954d09e13d5" |
298 | Referrer-Policy: | 298 | Referrer-Policy: |
299 | - strict-origin-when-cross-origin | 299 | - strict-origin-when-cross-origin |
300 | Transfer-Encoding: | 300 | Transfer-Encoding: |
@@ -310,9 +310,9 @@ interactions: | |||
310 | X-Permitted-Cross-Domain-Policies: | 310 | X-Permitted-Cross-Domain-Policies: |
311 | - none | 311 | - none |
312 | X-Request-Id: | 312 | X-Request-Id: |
313 | - 60ea9d84-1e9e-4696-a905-2a42035307c6 | 313 | - ee78242f-954e-413c-bc36-1476afba2bc3 |
314 | X-Runtime: | 314 | X-Runtime: |
315 | - '0.024171' | 315 | - '0.023622' |
316 | X-XSS-Protection: | 316 | X-XSS-Protection: |
317 | - 1; mode=block | 317 | - 1; mode=block |
318 | status: | 318 | status: |