diff options
Diffstat (limited to 'tests/cassettes/test_account_block_unblock.yaml')
-rw-r--r-- | tests/cassettes/test_account_block_unblock.yaml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/cassettes/test_account_block_unblock.yaml b/tests/cassettes/test_account_block_unblock.yaml index b8b7af0..c2ebfcb 100644 --- a/tests/cassettes/test_account_block_unblock.yaml +++ b/tests/cassettes/test_account_block_unblock.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":"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":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":"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":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}}' |
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-Nhw/Ul7+7ECj+05xph2W2Q==''; | 26 | style-src ''self'' http://localhost:3000 ''nonce-pfW5oFKR2EQvk/D55FdHAA==''; |
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/"26a41decc4abdc0f1b476cd7f7c6bc85" | 36 | - W/"5f1b08410562cb6329b673347086f76f" |
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 | - 8ce59347-ccd1-48d6-8fa3-c8d1cdb67130 | 52 | - 1d277544-5f76-4a36-8ed6-13cf33fb584b |
53 | X-Runtime: | 53 | X-Runtime: |
54 | - '0.013024' | 54 | - '0.014177' |
55 | X-XSS-Protection: | 55 | X-XSS-Protection: |
56 | - 1; mode=block | 56 | - 1; mode=block |
57 | status: | 57 | status: |
@@ -73,17 +73,17 @@ interactions: | |||
73 | User-Agent: | 73 | User-Agent: |
74 | - tests/v311 | 74 | - tests/v311 |
75 | method: POST | 75 | method: POST |
76 | uri: http://localhost:3000/api/v1/accounts/109367691027217373/block | 76 | uri: http://localhost:3000/api/v1/accounts/109383664751443295/block |
77 | response: | 77 | response: |
78 | body: | 78 | body: |
79 | string: '{"id":"109367691027217373","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":true,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' | 79 | string: '{"id":"109383664751443295","following":false,"showing_reblogs":false,"notifying":false,"languages":null,"followed_by":false,"blocking":true,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false,"note":""}' |
80 | headers: | 80 | headers: |
81 | Cache-Control: | 81 | Cache-Control: |
82 | - no-store | 82 | - no-store |
83 | Content-Security-Policy: | 83 | Content-Security-Policy: |
84 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 84 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
85 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 85 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
86 | style-src ''self'' http://localhost:3000 ''nonce-0u2U8wR2X+BuEcVsGw7/kw==''; | 86 | style-src ''self'' http://localhost:3000 ''nonce-I1QOWlgyquywl0MjowIDcA==''; |
87 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 87 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
88 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 88 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
89 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 89 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -93,7 +93,7 @@ interactions: | |||
93 | Content-Type: | 93 | Content-Type: |
94 | - application/json; charset=utf-8 | 94 | - application/json; charset=utf-8 |
95 | ETag: | 95 | ETag: |
96 | - W/"4f03a16894c0ac74b939acf9e91e6617" | 96 | - W/"e68def8a544e5be1eefb56580a5780c1" |
97 | Referrer-Policy: | 97 | Referrer-Policy: |
98 | - strict-origin-when-cross-origin | 98 | - strict-origin-when-cross-origin |
99 | Transfer-Encoding: | 99 | Transfer-Encoding: |
@@ -109,9 +109,9 @@ interactions: | |||
109 | X-Permitted-Cross-Domain-Policies: | 109 | X-Permitted-Cross-Domain-Policies: |
110 | - none | 110 | - none |
111 | X-Request-Id: | 111 | X-Request-Id: |
112 | - 5ee6fde9-c4de-49cd-957a-a1220a01b4ea | 112 | - 8c4a829a-eaf6-481a-b25e-2d998453a8a2 |
113 | X-Runtime: | 113 | X-Runtime: |
114 | - '0.022523' | 114 | - '0.024495' |
115 | X-XSS-Protection: | 115 | X-XSS-Protection: |
116 | - 1; mode=block | 116 | - 1; mode=block |
117 | status: | 117 | status: |
@@ -133,17 +133,17 @@ interactions: | |||
133 | User-Agent: | 133 | User-Agent: |
134 | - tests/v311 | 134 | - tests/v311 |
135 | method: POST | 135 | method: POST |
136 | uri: http://localhost:3000/api/v1/accounts/109367691027217373/unblock | 136 | uri: http://localhost:3000/api/v1/accounts/109383664751443295/unblock |
137 | response: | 137 | response: |
138 | body: | 138 | body: |
139 | 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":""}' | 139 | string: '{"id":"109383664751443295","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":""}' |
140 | headers: | 140 | headers: |
141 | Cache-Control: | 141 | Cache-Control: |
142 | - no-store | 142 | - no-store |
143 | Content-Security-Policy: | 143 | Content-Security-Policy: |
144 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 144 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
145 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 145 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
146 | style-src ''self'' http://localhost:3000 ''nonce-x+TZvUv8aNWz/9BpE32gEg==''; | 146 | style-src ''self'' http://localhost:3000 ''nonce-Ubf+tTZZyyWK3eaDOg8+DQ==''; |
147 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 147 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
148 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 148 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
149 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 149 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -153,7 +153,7 @@ interactions: | |||
153 | Content-Type: | 153 | Content-Type: |
154 | - application/json; charset=utf-8 | 154 | - application/json; charset=utf-8 |
155 | ETag: | 155 | ETag: |
156 | - W/"de4a48ee8790ee64cc1d3154ab11ba3a" | 156 | - W/"fdde9052870e9f115f5c25c05c7e9eef" |
157 | Referrer-Policy: | 157 | Referrer-Policy: |
158 | - strict-origin-when-cross-origin | 158 | - strict-origin-when-cross-origin |
159 | Transfer-Encoding: | 159 | Transfer-Encoding: |
@@ -169,9 +169,9 @@ interactions: | |||
169 | X-Permitted-Cross-Domain-Policies: | 169 | X-Permitted-Cross-Domain-Policies: |
170 | - none | 170 | - none |
171 | X-Request-Id: | 171 | X-Request-Id: |
172 | - 275c1dd4-0334-4ea6-ab84-d2bca597ba0c | 172 | - 90b51951-7df9-4a03-94d7-28086dec2571 |
173 | X-Runtime: | 173 | X-Runtime: |
174 | - '0.016299' | 174 | - '0.017544' |
175 | X-XSS-Protection: | 175 | X-XSS-Protection: |
176 | - 1; mode=block | 176 | - 1; mode=block |
177 | status: | 177 | status: |