aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-13 16:16:29 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-13 16:16:29 +0200
commit0e00fced99976d74e972a3c9ca5b762697840a33 (patch)
tree632f7e06d3e7d81e15f78d8821d39acf59b8301c /tests/cassettes/test_account_block_unblock.yaml
parentc66015a6b0655f865c45587095ca8744a9d61534 (diff)
downloadmastodon.py-0e00fced99976d74e972a3c9ca5b762697840a33.tar.gz
fix tests
Diffstat (limited to 'tests/cassettes/test_account_block_unblock.yaml')
-rw-r--r--tests/cassettes/test_account_block_unblock.yaml34
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 aea2c90..d43d775 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":"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":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":"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":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-wQPZxoRHh1Sx2JwE0YEr5g==''; 26 style-src ''self'' http://localhost:3000 ''nonce-uyXxSsZqoZ3XOgkuIjbWXg=='';
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/"045b82c55c495fceaaae2b0dc2b6d8db" 36 - W/"42368453c18e76d233e5f4ac57d3de69"
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 - 94b24adf-36e2-4a67-b36e-c2b6cec49d62 52 - 5649b15f-d226-439b-a945-46ac122f9600
53 X-Runtime: 53 X-Runtime:
54 - '0.011970' 54 - '0.012219'
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/109336623096259500/block 76 uri: http://localhost:3000/api/v1/accounts/109336898971915318/block
77 response: 77 response:
78 body: 78 body:
79 string: '{"id":"109336623096259500","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":"109336898971915318","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-kmle48j/3xVPuzbFh5EdJA==''; 86 style-src ''self'' http://localhost:3000 ''nonce-XDrE3X+GEVpRLuMsTUMA/Q=='';
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/"ca4303e759c5001f8af1161336791d79" 96 - W/"3583f5560406441b965ce02068249015"
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 - 31b7b6ea-bebc-485a-a50f-42d5daa2dec9 112 - 900f8fc7-b8b4-4c7b-9b65-d805a03642d2
113 X-Runtime: 113 X-Runtime:
114 - '0.019852' 114 - '0.020168'
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/109336623096259500/unblock 136 uri: http://localhost:3000/api/v1/accounts/109336898971915318/unblock
137 response: 137 response:
138 body: 138 body:
139 string: '{"id":"109336623096259500","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":"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":""}'
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-KYJQ20iuM0rPW8HAC2r4MA==''; 146 style-src ''self'' http://localhost:3000 ''nonce-jt2Oc5V6bTcDutPm1tVggg=='';
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/"945f7c7731010ff2bfa8f3f3889c235c" 156 - W/"b9dd6d5b54697012fa8e870d86d958d3"
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 - 6a193e03-8b5a-4449-90df-fdcbce18f9b4 172 - c481212a-9700-4403-9337-2d66289370a6
173 X-Runtime: 173 X-Runtime:
174 - '0.015411' 174 - '0.023003'
175 X-XSS-Protection: 175 X-XSS-Protection:
176 - 1; mode=block 176 - 1; mode=block
177 status: 177 status:
Powered by cgit v1.2.3 (git 2.41.0)