aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-13 18:39:56 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-13 18:39:56 +0200
commit5215c2242dd7b87418a7c10781c2b10b35d86f46 (patch)
tree9164c3963424cc149ddd7e61561470f27f5b817a /tests/cassettes/test_account_notes.yaml
parent0e00fced99976d74e972a3c9ca5b762697840a33 (diff)
downloadmastodon.py-5215c2242dd7b87418a7c10781c2b10b35d86f46.tar.gz
Fix some things in streaming and admin API for 3.3.0 support
Diffstat (limited to 'tests/cassettes/test_account_notes.yaml')
-rw-r--r--tests/cassettes/test_account_notes.yaml22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/cassettes/test_account_notes.yaml b/tests/cassettes/test_account_notes.yaml
index 8d6e967..b6060c6 100644
--- a/tests/cassettes/test_account_notes.yaml
+++ b/tests/cassettes/test_account_notes.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":"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}}' 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}}'
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-+FzEiTEiR5xul6d/N2h22w==''; 26 style-src ''self'' http://localhost:3000 ''nonce-QKXg1dg0fOzj/rCFTOQHsA=='';
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/"42368453c18e76d233e5f4ac57d3de69" 36 - W/"91cc35ca6300f8fcd18839f0f85f1152"
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 - f76906df-0d02-439e-ba9a-8f0945cbeb3c 52 - fa5aac11-7a30-4ebc-86b9-71c0a2a26924
53 X-Runtime: 53 X-Runtime:
54 - '0.012556' 54 - '0.011804'
55 X-XSS-Protection: 55 X-XSS-Protection:
56 - 1; mode=block 56 - 1; mode=block
57 status: 57 status:
@@ -75,10 +75,10 @@ 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/109336898971915318/note 78 uri: http://localhost:3000/api/v1/accounts/109337440467895233/note
79 response: 79 response:
80 body: 80 body:
81 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 81 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
82 ebayer gerne wieder"}' 82 ebayer gerne wieder"}'
83 headers: 83 headers:
84 Cache-Control: 84 Cache-Control:
@@ -86,7 +86,7 @@ interactions:
86 Content-Security-Policy: 86 Content-Security-Policy:
87 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 87 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
88 ''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;
89 style-src ''self'' http://localhost:3000 ''nonce-PwJ2bvSnrg8SZ2oiBw9RmA==''; 89 style-src ''self'' http://localhost:3000 ''nonce-gywgKgK+C+gppR5/ORBQFg=='';
90 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 90 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
91 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 91 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
92 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 92 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -96,7 +96,7 @@ interactions:
96 Content-Type: 96 Content-Type:
97 - application/json; charset=utf-8 97 - application/json; charset=utf-8
98 ETag: 98 ETag:
99 - W/"a58b6931bdf80070edebc5580f3ddc28" 99 - W/"d7e89095e63ccdec6921fcd4a7c80890"
100 Referrer-Policy: 100 Referrer-Policy:
101 - strict-origin-when-cross-origin 101 - strict-origin-when-cross-origin
102 Transfer-Encoding: 102 Transfer-Encoding:
@@ -112,9 +112,9 @@ interactions:
112 X-Permitted-Cross-Domain-Policies: 112 X-Permitted-Cross-Domain-Policies:
113 - none 113 - none
114 X-Request-Id: 114 X-Request-Id:
115 - e4b173f7-6aa8-472b-917e-8e288567f141 115 - 62c8a4be-f04a-44ef-ae87-06dd86049c8e
116 X-Runtime: 116 X-Runtime:
117 - '0.018562' 117 - '0.020430'
118 X-XSS-Protection: 118 X-XSS-Protection:
119 - 1; mode=block 119 - 1; mode=block
120 status: 120 status:
Powered by cgit v1.2.3 (git 2.41.0)