diff options
Diffstat (limited to 'tests/cassettes/test_admin_accounts_v1.yaml')
-rw-r--r-- | tests/cassettes/test_admin_accounts_v1.yaml | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/tests/cassettes/test_admin_accounts_v1.yaml b/tests/cassettes/test_admin_accounts_v1.yaml index 0c9b187..55af34f 100644 --- a/tests/cassettes/test_admin_accounts_v1.yaml +++ b/tests/cassettes/test_admin_accounts_v1.yaml | |||
@@ -16,14 +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":"109411886050231694","username":"mastodonpy_test_2","domain":null,"created_at":"2022-11-26T20:01:30.195Z","email":"mastodonpy_test_2@localhost:3000","ip":null,"role":{"id":-99,"name":"","color":"","position":-1,"permissions":65536,"highlighted":false,"created_at":"2022-11-26T20:01:24.328Z","updated_at":"2022-11-26T20:01:24.328Z"},"confirmed":true,"suspended":false,"silenced":false,"sensitized":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"ips":[],"account":{"id":"109411886050231694","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-11-26T00: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":"109411885927532888","username":"mastodonpy_test","domain":null,"created_at":"2022-11-26T20:01:28.322Z","email":"mastodonpy_test@localhost:3000","ip":null,"role":{"id":-99,"name":"","color":"","position":-1,"permissions":65536,"highlighted":false,"created_at":"2022-11-26T20:01:24.328Z","updated_at":"2022-11-26T20:01:24.328Z"},"confirmed":true,"suspended":false,"silenced":false,"sensitized":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"ips":[],"account":{"id":"109411885927532888","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-26T00:00:00.000Z","note":"","url":"http://localhost:3000/@mastodonpy_test","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":"109411885799291132","username":"admin2","domain":null,"created_at":"2022-11-26T20:01:26.347Z","email":"[email protected]","ip":"127.0.0.1","role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-11-26T20:01:24.338Z","updated_at":"2022-11-26T20:01:24.338Z"},"confirmed":true,"suspended":false,"silenced":false,"sensitized":false,"disabled":false,"approved":true,"locale":"de","invite_request":null,"ips":[{"ip":"127.0.0.1","used_at":"2022-11-26T20:02:19.675Z"}],"account":{"id":"109411885799291132","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-26T00: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":"109411885671340064","username":"admin","domain":null,"created_at":"2022-11-26T20:01:24.342Z","email":"admin@localhost:3000","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-11-26T20:01:24.338Z","updated_at":"2022-11-26T20:01:24.338Z"},"confirmed":true,"suspended":false,"silenced":false,"sensitized":false,"disabled":false,"approved":true,"locale":null,"invite_request":null,"ips":[],"account":{"id":"109411885671340064","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-26T00: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":[]}}]' | 19 | string: '[{"id":"109440137849431891","username":"mastodonpy_test_2","domain":null,"created_at":"2022-12-01T19:46:18.437Z","email":"mastodonpy_test_2@localhost:3000","ip":null,"role":{"id":-99,"name":"","color":"","position":-1,"permissions":65536,"highlighted":false,"created_at":"2022-12-01T19:46:13.041Z","updated_at":"2022-12-01T19:46:13.041Z"},"confirmed":true,"suspended":false,"silenced":false,"sensitized":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"ips":[],"account":{"id":"109440137849431891","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":false,"bot":false,"discoverable":true,"group":false,"created_at":"2022-12-01T00: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":"2022-12-01","noindex":false,"emojis":[],"fields":[]}},{"id":"109440137734600341","username":"mastodonpy_test","domain":null,"created_at":"2022-12-01T19:46:16.688Z","email":"mastodonpy_test@localhost:3000","ip":null,"role":{"id":-99,"name":"","color":"","position":-1,"permissions":65536,"highlighted":false,"created_at":"2022-12-01T19:46:13.041Z","updated_at":"2022-12-01T19:46:13.041Z"},"confirmed":true,"suspended":false,"silenced":false,"sensitized":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"ips":[],"account":{"id":"109440137734600341","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
20 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00: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/109/440/137/734/600/341/original/1fa6adb0173e410e.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/440/137/734/600/341/original/1fa6adb0173e410e.jpg","header":"http://localhost:3000/system/accounts/headers/109/440/137/734/600/341/original/96de51cc44c4a5d9.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/440/137/734/600/341/original/96de51cc44c4a5d9.jpg","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2022-12-01","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}},{"id":"109440137619167380","username":"admin2","domain":null,"created_at":"2022-12-01T19:46:14.918Z","email":"[email protected]","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-12-01T19:46:13.052Z","updated_at":"2022-12-01T19:46:13.052Z"},"confirmed":true,"suspended":false,"silenced":false,"sensitized":false,"disabled":false,"approved":true,"locale":"de","invite_request":null,"ips":[],"account":{"id":"109440137619167380","username":"admin2","acct":"admin2","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00: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":"109440137501589086","username":"admin","domain":null,"created_at":"2022-12-01T19:46:13.056Z","email":"admin@localhost:3000","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-12-01T19:46:13.052Z","updated_at":"2022-12-01T19:46:13.052Z"},"confirmed":true,"suspended":false,"silenced":false,"sensitized":false,"disabled":false,"approved":true,"locale":null,"invite_request":null,"ips":[],"account":{"id":"109440137501589086","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00: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":"2022-12-01","noindex":false,"emojis":[],"fields":[]}}]' | ||
20 | headers: | 22 | headers: |
21 | Cache-Control: | 23 | Cache-Control: |
22 | - no-store | 24 | - no-store |
23 | Content-Security-Policy: | 25 | Content-Security-Policy: |
24 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 26 | - '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; | 27 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
26 | style-src ''self'' http://localhost:3000 ''nonce-rha1g8vCqT8/tDp8mtlrdg==''; | 28 | style-src ''self'' http://localhost:3000 ''nonce-yjb41omMFwDhJZPO9fRk1Q==''; |
27 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 29 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
28 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 30 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
29 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 31 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -33,9 +35,9 @@ interactions: | |||
33 | Content-Type: | 35 | Content-Type: |
34 | - application/json; charset=utf-8 | 36 | - application/json; charset=utf-8 |
35 | ETag: | 37 | ETag: |
36 | - W/"70761e00feb13529509779ca3060705b" | 38 | - W/"b8400355e4b72b57878ed9c95c9670bf" |
37 | Link: | 39 | Link: |
38 | - <http://localhost:3000/api/v1/admin/accounts?active=True&min_id=109411886050231694>; | 40 | - <http://localhost:3000/api/v1/admin/accounts?active=True&min_id=109440137849431891>; |
39 | rel="prev" | 41 | rel="prev" |
40 | Referrer-Policy: | 42 | Referrer-Policy: |
41 | - strict-origin-when-cross-origin | 43 | - strict-origin-when-cross-origin |
@@ -52,9 +54,9 @@ interactions: | |||
52 | X-Permitted-Cross-Domain-Policies: | 54 | X-Permitted-Cross-Domain-Policies: |
53 | - none | 55 | - none |
54 | X-Request-Id: | 56 | X-Request-Id: |
55 | - 2e6b413e-114f-495b-8e0e-870b11ea4195 | 57 | - 113dd7c7-8f64-40a1-ac6e-08ceb1021f21 |
56 | X-Runtime: | 58 | X-Runtime: |
57 | - '0.174018' | 59 | - '0.032332' |
58 | X-XSS-Protection: | 60 | X-XSS-Protection: |
59 | - 1; mode=block | 61 | - 1; mode=block |
60 | status: | 62 | status: |
@@ -77,14 +79,14 @@ interactions: | |||
77 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 79 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
78 | response: | 80 | response: |
79 | body: | 81 | body: |
80 | string: '{"id":"109411885671340064","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-26T00: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}}' | 82 | string: '{"id":"109440137501589086","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00: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":"2022-12-01","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}}' |
81 | headers: | 83 | headers: |
82 | Cache-Control: | 84 | Cache-Control: |
83 | - no-store | 85 | - no-store |
84 | Content-Security-Policy: | 86 | Content-Security-Policy: |
85 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 87 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
86 | ''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; |
87 | style-src ''self'' http://localhost:3000 ''nonce-SRfegda7FJ4bXLLndhYA9g==''; | 89 | style-src ''self'' http://localhost:3000 ''nonce-x2TvZD/uCI6QsoVDwTnsgw==''; |
88 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 90 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
89 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 91 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
90 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 92 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -94,7 +96,7 @@ interactions: | |||
94 | Content-Type: | 96 | Content-Type: |
95 | - application/json; charset=utf-8 | 97 | - application/json; charset=utf-8 |
96 | ETag: | 98 | ETag: |
97 | - W/"a92dcb08b6f874d680c45eede3cca2ec" | 99 | - W/"dd450e6d64e656efa28c76c7d7b7eef0" |
98 | Referrer-Policy: | 100 | Referrer-Policy: |
99 | - strict-origin-when-cross-origin | 101 | - strict-origin-when-cross-origin |
100 | Transfer-Encoding: | 102 | Transfer-Encoding: |
@@ -110,9 +112,9 @@ interactions: | |||
110 | X-Permitted-Cross-Domain-Policies: | 112 | X-Permitted-Cross-Domain-Policies: |
111 | - none | 113 | - none |
112 | X-Request-Id: | 114 | X-Request-Id: |
113 | - 5b1a9983-a201-4b01-8279-4f24d394cde0 | 115 | - 1f30b29e-357e-4540-a0e7-7f2e02fe96ff |
114 | X-Runtime: | 116 | X-Runtime: |
115 | - '0.019987' | 117 | - '0.012345' |
116 | X-XSS-Protection: | 118 | X-XSS-Protection: |
117 | - 1; mode=block | 119 | - 1; mode=block |
118 | status: | 120 | status: |
@@ -132,17 +134,17 @@ interactions: | |||
132 | User-Agent: | 134 | User-Agent: |
133 | - tests/v311 | 135 | - tests/v311 |
134 | method: GET | 136 | method: GET |
135 | uri: http://localhost:3000/api/v1/admin/accounts/109411885671340064 | 137 | uri: http://localhost:3000/api/v1/admin/accounts/109440137501589086 |
136 | response: | 138 | response: |
137 | body: | 139 | body: |
138 | string: '{"id":"109411885671340064","username":"admin","domain":null,"created_at":"2022-11-26T20:01:24.342Z","email":"admin@localhost:3000","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-11-26T20:01:24.338Z","updated_at":"2022-11-26T20:01:24.338Z"},"confirmed":true,"suspended":false,"silenced":false,"sensitized":false,"disabled":false,"approved":true,"locale":null,"invite_request":null,"ips":[],"account":{"id":"109411885671340064","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-26T00: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":[]}}' | 140 | string: '{"id":"109440137501589086","username":"admin","domain":null,"created_at":"2022-12-01T19:46:13.056Z","email":"admin@localhost:3000","ip":null,"role":{"id":3,"name":"Owner","color":"","position":1000,"permissions":1,"highlighted":true,"created_at":"2022-12-01T19:46:13.052Z","updated_at":"2022-12-01T19:46:13.052Z"},"confirmed":true,"suspended":false,"silenced":false,"sensitized":false,"disabled":false,"approved":true,"locale":null,"invite_request":null,"ips":[],"account":{"id":"109440137501589086","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-12-01T00: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":"2022-12-01","noindex":false,"emojis":[],"fields":[]}}' |
139 | headers: | 141 | headers: |
140 | Cache-Control: | 142 | Cache-Control: |
141 | - no-store | 143 | - no-store |
142 | Content-Security-Policy: | 144 | Content-Security-Policy: |
143 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 145 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
144 | ''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; |
145 | style-src ''self'' http://localhost:3000 ''nonce-Xr1816+FDipTuvfoqQHZ2A==''; | 147 | style-src ''self'' http://localhost:3000 ''nonce-u2Fn8ajrmYOueq7Vyzok7g==''; |
146 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 148 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
147 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 149 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
148 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 150 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -152,7 +154,7 @@ interactions: | |||
152 | Content-Type: | 154 | Content-Type: |
153 | - application/json; charset=utf-8 | 155 | - application/json; charset=utf-8 |
154 | ETag: | 156 | ETag: |
155 | - W/"7fabd2598ffb35064504f9e5215e21e6" | 157 | - W/"f9ba8403b6488734d8ea44e17c8f5630" |
156 | Referrer-Policy: | 158 | Referrer-Policy: |
157 | - strict-origin-when-cross-origin | 159 | - strict-origin-when-cross-origin |
158 | Transfer-Encoding: | 160 | Transfer-Encoding: |
@@ -168,9 +170,9 @@ interactions: | |||
168 | X-Permitted-Cross-Domain-Policies: | 170 | X-Permitted-Cross-Domain-Policies: |
169 | - none | 171 | - none |
170 | X-Request-Id: | 172 | X-Request-Id: |
171 | - eec919d4-f033-4d8a-a74c-b7c5f9f82df2 | 173 | - e90c1722-197d-4af1-845b-2cf6a8a49b61 |
172 | X-Runtime: | 174 | X-Runtime: |
173 | - '0.020002' | 175 | - '0.013535' |
174 | X-XSS-Protection: | 176 | X-XSS-Protection: |
175 | - 1; mode=block | 177 | - 1; mode=block |
176 | status: | 178 | status: |