aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_app_account_create_invalid.yaml')
-rw-r--r--tests/cassettes/test_app_account_create_invalid.yaml46
1 files changed, 23 insertions, 23 deletions
diff --git a/tests/cassettes/test_app_account_create_invalid.yaml b/tests/cassettes/test_app_account_create_invalid.yaml
index 664865e..87ff907 100644
--- a/tests/cassettes/test_app_account_create_invalid.yaml
+++ b/tests/cassettes/test_app_account_create_invalid.yaml
@@ -18,14 +18,14 @@ interactions:
18 uri: http://localhost:3000/api/v1/apps 18 uri: http://localhost:3000/api/v1/apps
19 response: 19 response:
20 body: 20 body:
21 string: '{"id":"3","name":"mastodon.py generated test app","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"NgIw4SfQncpZa4HOgsVxl4uf4QQkKxgYeC5nhBp4ivw","client_secret":"UgwnWXlzMJp7Yx0zZUEp8bE7vuIfmdKxn6W6lOFkUgI","vapid_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' 21 string: '{"id":"3","name":"mastodon.py generated test app","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"OV9uJeWR93NbQsUQgekZKLFKdw40xBOy-dSo9hGdnxU","client_secret":"ph-fxBPUHeeUKtAWWNqsOqr1ZedpOCA26GowU9VD_y0","vapid_key":"BHbaZoDpTM1DFjAELelcIqWMMCXLKayvxGl7bPWlqmggF2tb8t6kiEj8qKrZE1PfF4RxaT46AilrYUDIWgMFmz0="}'
22 headers: 22 headers:
23 Cache-Control: 23 Cache-Control:
24 - no-store 24 - no-store
25 Content-Security-Policy: 25 Content-Security-Policy:
26 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 26 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
27 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 27 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
28 style-src ''self'' http://localhost:3000 ''nonce-D53thheJtsWZzJN4YXxAZA==''; 28 style-src ''self'' http://localhost:3000 ''nonce-JQRqwYVhiCATIJRqUtmcMQ=='';
29 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 29 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
30 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 30 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
31 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 31 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -35,7 +35,7 @@ interactions:
35 Content-Type: 35 Content-Type:
36 - application/json; charset=utf-8 36 - application/json; charset=utf-8
37 ETag: 37 ETag:
38 - W/"7c1f129ccb97c9638deafdea30b06b20" 38 - W/"5cd88419d12d50db381800f1104041b4"
39 Referrer-Policy: 39 Referrer-Policy:
40 - strict-origin-when-cross-origin 40 - strict-origin-when-cross-origin
41 Transfer-Encoding: 41 Transfer-Encoding:
@@ -51,9 +51,9 @@ interactions:
51 X-Permitted-Cross-Domain-Policies: 51 X-Permitted-Cross-Domain-Policies:
52 - none 52 - none
53 X-Request-Id: 53 X-Request-Id:
54 - b55cf3fc-06ea-46b9-bef4-1c1e25ef5bf1 54 - f1a38fc6-3969-4612-9fea-4a5e16171b08
55 X-Runtime: 55 X-Runtime:
56 - '0.010440' 56 - '0.018944'
57 X-XSS-Protection: 57 X-XSS-Protection:
58 - 1; mode=block 58 - 1; mode=block
59 status: 59 status:
@@ -74,14 +74,14 @@ interactions:
74 uri: http://localhost:3000/api/v1/instance/ 74 uri: http://localhost:3000/api/v1/instance/
75 response: 75 response:
76 body: 76 body:
77 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":1,"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":[]}' 77 string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":1,"domain_count":1},"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":[]}'
78 headers: 78 headers:
79 Cache-Control: 79 Cache-Control:
80 - max-age=180, public 80 - max-age=180, public
81 Content-Security-Policy: 81 Content-Security-Policy:
82 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 82 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
83 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 83 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
84 style-src ''self'' http://localhost:3000 ''nonce-cvWGlPLeH6fZhrCPP7ImNA==''; 84 style-src ''self'' http://localhost:3000 ''nonce-RjJErQrd9m2k3S2+fV8+Kg=='';
85 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 85 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
86 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 86 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
87 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 87 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -91,9 +91,9 @@ interactions:
91 Content-Type: 91 Content-Type:
92 - application/json; charset=utf-8 92 - application/json; charset=utf-8
93 Date: 93 Date:
94 - Mon, 21 Nov 2022 20:25:03 GMT 94 - Thu, 01 Dec 2022 19:47:12 GMT
95 ETag: 95 ETag:
96 - W/"bf317ffab393d8d1da7195269f28968a" 96 - W/"f3d8b9e0e7a52fd79c73f5f6ac26b4dd"
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,16 +109,16 @@ 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 - 7173d703-35a4-4e9f-bc3a-c426557f879e 112 - 20b188d9-af27-4c35-8c3a-e12cb63dc7b1
113 X-Runtime: 113 X-Runtime:
114 - '0.014002' 114 - '0.014104'
115 X-XSS-Protection: 115 X-XSS-Protection:
116 - 1; mode=block 116 - 1; mode=block
117 status: 117 status:
118 code: 200 118 code: 200
119 message: OK 119 message: OK
120- request: 120- request:
121 body: scope=read+write+follow+push&client_id=NgIw4SfQncpZa4HOgsVxl4uf4QQkKxgYeC5nhBp4ivw&client_secret=UgwnWXlzMJp7Yx0zZUEp8bE7vuIfmdKxn6W6lOFkUgI&grant_type=client_credentials 121 body: scope=read+write+follow+push&client_id=OV9uJeWR93NbQsUQgekZKLFKdw40xBOy-dSo9hGdnxU&client_secret=ph-fxBPUHeeUKtAWWNqsOqr1ZedpOCA26GowU9VD_y0&grant_type=client_credentials
122 headers: 122 headers:
123 Accept: 123 Accept:
124 - '*/*' 124 - '*/*'
@@ -136,15 +136,15 @@ interactions:
136 uri: http://localhost:3000/oauth/token 136 uri: http://localhost:3000/oauth/token
137 response: 137 response:
138 body: 138 body:
139 string: '{"access_token":"eAKUMB1ercuchbhttLGFWRFha5lFQaZIW2j876LJxpg","token_type":"Bearer","scope":"read 139 string: '{"access_token":"Pl3TAeX2cNRHSIT-rsVjM7KyBTsBEAy5qe7ae9jgt18","token_type":"Bearer","scope":"read
140 write follow push","created_at":1669062303}' 140 write follow push","created_at":1669924032}'
141 headers: 141 headers:
142 Cache-Control: 142 Cache-Control:
143 - no-store 143 - no-store
144 Content-Security-Policy: 144 Content-Security-Policy:
145 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 145 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
146 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 146 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
147 style-src ''self'' http://localhost:3000 ''nonce-nqhpCRVNacJ33QEorJm0SA==''; 147 style-src ''self'' http://localhost:3000 ''nonce-ffsIgdrXfqJu28stUzOpbg=='';
148 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 148 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
149 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 149 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
150 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 150 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -154,7 +154,7 @@ interactions:
154 Content-Type: 154 Content-Type:
155 - application/json; charset=utf-8 155 - application/json; charset=utf-8
156 ETag: 156 ETag:
157 - W/"5724975a13bf8a41ea2faa8de72c26b3" 157 - W/"53b64235a71caf21ac682345ca9cd2d0"
158 Pragma: 158 Pragma:
159 - no-cache 159 - no-cache
160 Referrer-Policy: 160 Referrer-Policy:
@@ -172,23 +172,23 @@ interactions:
172 X-Permitted-Cross-Domain-Policies: 172 X-Permitted-Cross-Domain-Policies:
173 - none 173 - none
174 X-Request-Id: 174 X-Request-Id:
175 - 67addde6-8ea3-4cb8-aadc-bb1ba82b0e83 175 - 77ad9b72-3cfb-4ddc-9199-86027a7faab0
176 X-Runtime: 176 X-Runtime:
177 - '0.011701' 177 - '0.010815'
178 X-XSS-Protection: 178 X-XSS-Protection:
179 - 1; mode=block 179 - 1; mode=block
180 status: 180 status:
181 code: 200 181 code: 200
182 message: OK 182 message: OK
183- request: 183- request:
184 body: username=coolguy44807&password=&email=email%40localhost44807&locale=en&return_detailed_error=1&client_id=NgIw4SfQncpZa4HOgsVxl4uf4QQkKxgYeC5nhBp4ivw&client_secret=UgwnWXlzMJp7Yx0zZUEp8bE7vuIfmdKxn6W6lOFkUgI 184 body: username=coolguy38653&password=&email=email%40localhost38653&locale=en&return_detailed_error=1&client_id=OV9uJeWR93NbQsUQgekZKLFKdw40xBOy-dSo9hGdnxU&client_secret=ph-fxBPUHeeUKtAWWNqsOqr1ZedpOCA26GowU9VD_y0
185 headers: 185 headers:
186 Accept: 186 Accept:
187 - '*/*' 187 - '*/*'
188 Accept-Encoding: 188 Accept-Encoding:
189 - gzip, deflate 189 - gzip, deflate
190 Authorization: 190 Authorization:
191 - Bearer eAKUMB1ercuchbhttLGFWRFha5lFQaZIW2j876LJxpg 191 - Bearer Pl3TAeX2cNRHSIT-rsVjM7KyBTsBEAy5qe7ae9jgt18
192 Connection: 192 Connection:
193 - keep-alive 193 - keep-alive
194 Content-Length: 194 Content-Length:
@@ -210,7 +210,7 @@ interactions:
210 Content-Security-Policy: 210 Content-Security-Policy:
211 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 211 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
212 ''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;
213 style-src ''self'' http://localhost:3000 ''nonce-a5lY5MBk/I5Cn7TUVUp8rg==''; 213 style-src ''self'' http://localhost:3000 ''nonce-VWL5wr8/oOQeAR1lG3Rf4w=='';
214 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 214 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
215 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 215 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
216 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 216 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -234,9 +234,9 @@ interactions:
234 X-Permitted-Cross-Domain-Policies: 234 X-Permitted-Cross-Domain-Policies:
235 - none 235 - none
236 X-Request-Id: 236 X-Request-Id:
237 - 814b1c70-13d6-4c91-841d-cd714b4c9599 237 - 0d88ee84-9cc4-4fbf-bad1-a0b3ce4a9dfa
238 X-Runtime: 238 X-Runtime:
239 - '0.019158' 239 - '0.019910'
240 X-XSS-Protection: 240 X-XSS-Protection:
241 - 1; mode=block 241 - 1; mode=block
242 status: 242 status:
Powered by cgit v1.2.3 (git 2.41.0)