aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_admin_accounts.yaml')
-rw-r--r--tests/cassettes/test_admin_accounts.yaml38
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/cassettes/test_admin_accounts.yaml b/tests/cassettes/test_admin_accounts.yaml
index f0b3eae..49205ab 100644
--- a/tests/cassettes/test_admin_accounts.yaml
+++ b/tests/cassettes/test_admin_accounts.yaml
@@ -16,16 +16,16 @@ interactions:
16 uri: http://localhost:3000/api/v1/admin/accounts?active=True 16 uri: http://localhost:3000/api/v1/admin/accounts?active=True
17 response: 17 response:
18 body: 18 body:
19 string: '[{"id":"109304274996662485","username":"coolguy75493","domain":null,"created_at":"2022-11-07T19:54:35.810Z","email":"email@localhost75493","ip":"127.0.0.1","role":{"id":-99,"name":"","color":"","position":-1,"permissions":65536,"highlighted":false,"created_at":"2022-11-07T19:53:02.782Z","updated_at":"2022-11-07T19:53:02.782Z"},"confirmed":false,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"en","invite_request":null,"created_by_application_id":"2","ips":[{"ip":"127.0.0.1","used_at":"2022-11-07T19:54:35.847Z"}],"account":{"id":"109304274996662485","username":"coolguy75493","acct":"coolguy75493","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"","url":"http://localhost:3000/@coolguy75493","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,"emojis":[],"fields":[]}},{"id":"109304269014359623","username":"admin2","domain":null,"created_at":"2022-11-07T19:53:04.526Z","email":"[email protected]","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-11-07T19:53:02.793Z","updated_at":"2022-11-07T19:53:02.793Z"},"confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":null,"invite_request":null,"ips":[],"account":{"id":"109304269014359623","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin2","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,"emojis":[],"fields":[]}},{"id":"109304268902557892","username":"admin","domain":null,"created_at":"2022-11-07T19:53:02.797Z","email":"admin@localhost:3000","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-11-07T19:53:02.793Z","updated_at":"2022-11-07T19:53:02.793Z"},"confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":null,"invite_request":null,"ips":[],"account":{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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-07","noindex":false,"emojis":[],"fields":[]}},{"id":"1234567890123457","username":"mastodonpy_test_2","domain":null,"created_at":"2022-11-07T21:53:04.586Z","email":"mastodonpy_test_2@localhost:3000","ip":null,"role":{"id":-99,"name":"","color":"","position":-1,"permissions":65536,"highlighted":false,"created_at":"2022-11-07T19:53:02.782Z","updated_at":"2022-11-07T19:53:02.782Z"},"confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"ips":[],"account":{"id":"1234567890123457","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]}},{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2022-11-07T21:53:04.581Z","email":"mastodonpy_test@localhost:3000","ip":null,"role":{"id":-99,"name":"","color":"","position":-1,"permissions":65536,"highlighted":false,"created_at":"2022-11-07T19:53:02.782Z","updated_at":"2022-11-07T19:53:02.782Z"},"confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"ips":[],"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 19 string: '[{"id":"109336623415600158","username":"mastodonpy_test_2","domain":null,"created_at":"2022-11-13T13:01:13.524Z","email":"mastodonpy_test_2@localhost:3000","ip":null,"role":{"id":-99,"name":"","color":"","position":-1,"permissions":65536,"highlighted":false,"created_at":"2022-11-13T13:01:08.576Z","updated_at":"2022-11-13T13:01:08.576Z"},"confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"ips":[],"account":{"id":"109336623415600158","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test_2","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,"emojis":[],"fields":[]}},{"id":"109336623311102204","username":"mastodonpy_test","domain":null,"created_at":"2022-11-13T13:01:11.931Z","email":"mastodonpy_test@localhost:3000","ip":null,"role":{"id":-99,"name":"","color":"","position":-1,"permissions":65536,"highlighted":false,"created_at":"2022-11-13T13:01:08.576Z","updated_at":"2022-11-13T13:01:08.576Z"},"confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"ips":[],"account":{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
20 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI 20 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI
21 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}]' 21 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}},{"id":"109336623202117744","username":"admin2","domain":null,"created_at":"2022-11-13T13:01:10.253Z","email":"[email protected]","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-11-13T13:01:08.585Z","updated_at":"2022-11-13T13:01:08.585Z"},"confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":null,"invite_request":null,"ips":[],"account":{"id":"109336623202117744","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"","url":"http://localhost:3000/@admin2","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,"emojis":[],"fields":[]}},{"id":"109336623096259500","username":"admin","domain":null,"created_at":"2022-11-13T13:01:08.589Z","email":"admin@localhost:3000","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-11-13T13:01:08.585Z","updated_at":"2022-11-13T13:01:08.585Z"},"confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":null,"invite_request":null,"ips":[],"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":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}}]'
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-5xTr8y5Cbvyf230vBRZCXA==''; 28 style-src ''self'' http://localhost:3000 ''nonce-FfYLMoH6CsBFQ5FtArOTSQ=='';
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,9 +35,9 @@ 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/"c39140b2a6cc3ffc9a6e80712a122f17" 38 - W/"72e4550dad8ae12b0eefeed21edd5e0b"
39 Link: 39 Link:
40 - <http://localhost:3000/api/v1/admin/accounts?active=True&min_id=109304274996662485>; 40 - <http://localhost:3000/api/v1/admin/accounts?active=True&min_id=109336623415600158>;
41 rel="prev" 41 rel="prev"
42 Referrer-Policy: 42 Referrer-Policy:
43 - strict-origin-when-cross-origin 43 - strict-origin-when-cross-origin
@@ -54,9 +54,9 @@ interactions:
54 X-Permitted-Cross-Domain-Policies: 54 X-Permitted-Cross-Domain-Policies:
55 - none 55 - none
56 X-Request-Id: 56 X-Request-Id:
57 - e228a574-813e-4961-a8c0-613a0d3fe9d8 57 - 95832695-fd16-4fb6-9db6-9a2eec7dca21
58 X-Runtime: 58 X-Runtime:
59 - '0.030751' 59 - '0.040615'
60 X-XSS-Protection: 60 X-XSS-Protection:
61 - 1; mode=block 61 - 1; mode=block
62 status: 62 status:
@@ -79,14 +79,14 @@ interactions:
79 uri: http://localhost:3000/api/v1/accounts/verify_credentials 79 uri: http://localhost:3000/api/v1/accounts/verify_credentials
80 response: 80 response:
81 body: 81 body:
82 string: '{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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-07","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}}' 82 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}}'
83 headers: 83 headers:
84 Cache-Control: 84 Cache-Control:
85 - no-store 85 - no-store
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-wa7sKz09ResLdH+BRqfwTA==''; 89 style-src ''self'' http://localhost:3000 ''nonce-ecffy0Fkz/MDBy0hrDAPHw=='';
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/"ee7f4ec7bb2b808cd0b4f2762da41c32" 99 - W/"045b82c55c495fceaaae2b0dc2b6d8db"
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 - 7455af36-928c-4339-8c38-a491ced98766 115 - 90e59155-432b-4f17-96da-c7a6d6e5a493
116 X-Runtime: 116 X-Runtime:
117 - '0.012999' 117 - '0.011456'
118 X-XSS-Protection: 118 X-XSS-Protection:
119 - 1; mode=block 119 - 1; mode=block
120 status: 120 status:
@@ -134,17 +134,17 @@ interactions:
134 User-Agent: 134 User-Agent:
135 - tests/v311 135 - tests/v311
136 method: GET 136 method: GET
137 uri: http://localhost:3000/api/v1/admin/accounts/109304268902557892 137 uri: http://localhost:3000/api/v1/admin/accounts/109336623096259500
138 response: 138 response:
139 body: 139 body:
140 string: '{"id":"109304268902557892","username":"admin","domain":null,"created_at":"2022-11-07T19:53:02.797Z","email":"admin@localhost:3000","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-11-07T19:53:02.793Z","updated_at":"2022-11-07T19:53:02.793Z"},"confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":null,"invite_request":null,"ips":[],"account":{"id":"109304268902557892","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00: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-07","noindex":false,"emojis":[],"fields":[]}}' 140 string: '{"id":"109336623096259500","username":"admin","domain":null,"created_at":"2022-11-13T13:01:08.589Z","email":"admin@localhost:3000","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-11-13T13:01:08.585Z","updated_at":"2022-11-13T13:01:08.585Z"},"confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":null,"invite_request":null,"ips":[],"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":0,"last_status_at":null,"noindex":false,"emojis":[],"fields":[]}}'
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-gp1fSFKeqP/pBeN3v808AQ==''; 147 style-src ''self'' http://localhost:3000 ''nonce-5ul0tSPQdggj5LgfXIJZCg=='';
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/"b1e23eccd2ecd923db919a320ca22b27" 157 - W/"2d8786bfe68d167b2dddd87def2c8517"
158 Referrer-Policy: 158 Referrer-Policy:
159 - strict-origin-when-cross-origin 159 - strict-origin-when-cross-origin
160 Transfer-Encoding: 160 Transfer-Encoding:
@@ -170,9 +170,9 @@ interactions:
170 X-Permitted-Cross-Domain-Policies: 170 X-Permitted-Cross-Domain-Policies:
171 - none 171 - none
172 X-Request-Id: 172 X-Request-Id:
173 - b2c51367-28f2-4f91-824c-529be127f3a3 173 - a6ddeccf-26f1-4cce-bdba-8854d79ccc23
174 X-Runtime: 174 X-Runtime:
175 - '0.013671' 175 - '0.013456'
176 X-XSS-Protection: 176 X-XSS-Protection:
177 - 1; mode=block 177 - 1; mode=block
178 status: 178 status:
Powered by cgit v1.2.3 (git 2.41.0)