diff options
Diffstat (limited to 'tests/cassettes/test_account_pin_unpin.yaml')
-rw-r--r-- | tests/cassettes/test_account_pin_unpin.yaml | 60 |
1 files changed, 26 insertions, 34 deletions
diff --git a/tests/cassettes/test_account_pin_unpin.yaml b/tests/cassettes/test_account_pin_unpin.yaml index eaf3563..ff103c9 100644 --- a/tests/cassettes/test_account_pin_unpin.yaml +++ b/tests/cassettes/test_account_pin_unpin.yaml | |||
@@ -10,11 +10,10 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials | 11 | uri: http://localhost:3000/api/v1/accounts/verify_credentials |
12 | response: | 12 | response: |
13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T18:52:42.626Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} | 13 | body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | 15 | Cache-Control: ['no-cache, no-store'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
17 | ETag: [W/"0f8b38bbae62fe172a62496fe49e206e"] | ||
18 | Referrer-Policy: [strict-origin-when-cross-origin] | 17 | Referrer-Policy: [strict-origin-when-cross-origin] |
19 | Transfer-Encoding: [chunked] | 18 | Transfer-Encoding: [chunked] |
20 | Vary: ['Accept-Encoding, Origin'] | 19 | Vary: ['Accept-Encoding, Origin'] |
@@ -22,8 +21,8 @@ interactions: | |||
22 | X-Download-Options: [noopen] | 21 | X-Download-Options: [noopen] |
23 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
24 | X-Permitted-Cross-Domain-Policies: [none] | 23 | X-Permitted-Cross-Domain-Policies: [none] |
25 | X-Request-Id: [692fe5c4-e557-4dd5-99f0-44b812f2e9f3] | 24 | X-Request-Id: [37113524-0b40-402f-9137-4ebb3578f553] |
26 | X-Runtime: ['0.019931'] | 25 | X-Runtime: ['0.066661'] |
27 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
28 | content-length: ['609'] | 27 | content-length: ['609'] |
29 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
@@ -42,9 +41,8 @@ interactions: | |||
42 | response: | 41 | response: |
43 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} | 42 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} |
44 | headers: | 43 | headers: |
45 | Cache-Control: ['max-age=0, private, must-revalidate'] | 44 | Cache-Control: ['no-cache, no-store'] |
46 | Content-Type: [application/json; charset=utf-8] | 45 | Content-Type: [application/json; charset=utf-8] |
47 | ETag: [W/"1e1fa14c270ff6960152323eda93cc79"] | ||
48 | Referrer-Policy: [strict-origin-when-cross-origin] | 46 | Referrer-Policy: [strict-origin-when-cross-origin] |
49 | Transfer-Encoding: [chunked] | 47 | Transfer-Encoding: [chunked] |
50 | Vary: ['Accept-Encoding, Origin'] | 48 | Vary: ['Accept-Encoding, Origin'] |
@@ -52,8 +50,8 @@ interactions: | |||
52 | X-Download-Options: [noopen] | 50 | X-Download-Options: [noopen] |
53 | X-Frame-Options: [SAMEORIGIN] | 51 | X-Frame-Options: [SAMEORIGIN] |
54 | X-Permitted-Cross-Domain-Policies: [none] | 52 | X-Permitted-Cross-Domain-Policies: [none] |
55 | X-Request-Id: [ad3bfb7e-d816-4b51-8c90-e431d2330775] | 53 | X-Request-Id: [2a851107-5fe9-41c3-ba13-26e06f4a096b] |
56 | X-Runtime: ['0.062775'] | 54 | X-Runtime: ['0.251026'] |
57 | X-XSS-Protection: [1; mode=block] | 55 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['209'] | 56 | content-length: ['209'] |
59 | status: {code: 200, message: OK} | 57 | status: {code: 200, message: OK} |
@@ -71,9 +69,8 @@ interactions: | |||
71 | response: | 69 | response: |
72 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} | 70 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} |
73 | headers: | 71 | headers: |
74 | Cache-Control: ['max-age=0, private, must-revalidate'] | 72 | Cache-Control: ['no-cache, no-store'] |
75 | Content-Type: [application/json; charset=utf-8] | 73 | Content-Type: [application/json; charset=utf-8] |
76 | ETag: [W/"1e1fa14c270ff6960152323eda93cc79"] | ||
77 | Referrer-Policy: [strict-origin-when-cross-origin] | 74 | Referrer-Policy: [strict-origin-when-cross-origin] |
78 | Transfer-Encoding: [chunked] | 75 | Transfer-Encoding: [chunked] |
79 | Vary: ['Accept-Encoding, Origin'] | 76 | Vary: ['Accept-Encoding, Origin'] |
@@ -81,8 +78,8 @@ interactions: | |||
81 | X-Download-Options: [noopen] | 78 | X-Download-Options: [noopen] |
82 | X-Frame-Options: [SAMEORIGIN] | 79 | X-Frame-Options: [SAMEORIGIN] |
83 | X-Permitted-Cross-Domain-Policies: [none] | 80 | X-Permitted-Cross-Domain-Policies: [none] |
84 | X-Request-Id: [312e2867-4349-4145-8bb0-231e59e3d02c] | 81 | X-Request-Id: [5f231072-f79f-4760-a611-cf4509f99386] |
85 | X-Runtime: ['0.065496'] | 82 | X-Runtime: ['0.097248'] |
86 | X-XSS-Protection: [1; mode=block] | 83 | X-XSS-Protection: [1; mode=block] |
87 | content-length: ['209'] | 84 | content-length: ['209'] |
88 | status: {code: 200, message: OK} | 85 | status: {code: 200, message: OK} |
@@ -100,9 +97,8 @@ interactions: | |||
100 | response: | 97 | response: |
101 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":true}'} | 98 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":true}'} |
102 | headers: | 99 | headers: |
103 | Cache-Control: ['max-age=0, private, must-revalidate'] | 100 | Cache-Control: ['no-cache, no-store'] |
104 | Content-Type: [application/json; charset=utf-8] | 101 | Content-Type: [application/json; charset=utf-8] |
105 | ETag: [W/"c6dfb53299bc83b46a9edb08d3930925"] | ||
106 | Referrer-Policy: [strict-origin-when-cross-origin] | 102 | Referrer-Policy: [strict-origin-when-cross-origin] |
107 | Transfer-Encoding: [chunked] | 103 | Transfer-Encoding: [chunked] |
108 | Vary: ['Accept-Encoding, Origin'] | 104 | Vary: ['Accept-Encoding, Origin'] |
@@ -110,8 +106,8 @@ interactions: | |||
110 | X-Download-Options: [noopen] | 106 | X-Download-Options: [noopen] |
111 | X-Frame-Options: [SAMEORIGIN] | 107 | X-Frame-Options: [SAMEORIGIN] |
112 | X-Permitted-Cross-Domain-Policies: [none] | 108 | X-Permitted-Cross-Domain-Policies: [none] |
113 | X-Request-Id: [c9dae17d-d180-447b-bb49-4f6d4ce07f40] | 109 | X-Request-Id: [e35553d8-b0cb-4cb2-ae5c-ae2566e56e1a] |
114 | X-Runtime: ['0.050245'] | 110 | X-Runtime: ['0.089244'] |
115 | X-XSS-Protection: [1; mode=block] | 111 | X-XSS-Protection: [1; mode=block] |
116 | content-length: ['208'] | 112 | content-length: ['208'] |
117 | status: {code: 200, message: OK} | 113 | status: {code: 200, message: OK} |
@@ -126,11 +122,10 @@ interactions: | |||
126 | method: GET | 122 | method: GET |
127 | uri: http://localhost:3000/api/v1/endorsements | 123 | uri: http://localhost:3000/api/v1/endorsements |
128 | response: | 124 | response: |
129 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T18:52:42.626Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'} | 125 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'} |
130 | headers: | 126 | headers: |
131 | Cache-Control: ['max-age=0, private, must-revalidate'] | 127 | Cache-Control: ['no-cache, no-store'] |
132 | Content-Type: [application/json; charset=utf-8] | 128 | Content-Type: [application/json; charset=utf-8] |
133 | ETag: [W/"ae491d6254719d99832526fc14bfb68b"] | ||
134 | Link: ['<http://localhost:3000/api/v1/endorsements?since_id=1>; rel="prev"'] | 129 | Link: ['<http://localhost:3000/api/v1/endorsements?since_id=1>; rel="prev"'] |
135 | Referrer-Policy: [strict-origin-when-cross-origin] | 130 | Referrer-Policy: [strict-origin-when-cross-origin] |
136 | Transfer-Encoding: [chunked] | 131 | Transfer-Encoding: [chunked] |
@@ -139,8 +134,8 @@ interactions: | |||
139 | X-Download-Options: [noopen] | 134 | X-Download-Options: [noopen] |
140 | X-Frame-Options: [SAMEORIGIN] | 135 | X-Frame-Options: [SAMEORIGIN] |
141 | X-Permitted-Cross-Domain-Policies: [none] | 136 | X-Permitted-Cross-Domain-Policies: [none] |
142 | X-Request-Id: [855af719-1d1a-4fe0-93e7-b2ff9293a363] | 137 | X-Request-Id: [11be6858-b2cb-4e8a-9d5c-3df1703be756] |
143 | X-Runtime: ['0.018452'] | 138 | X-Runtime: ['0.112384'] |
144 | X-XSS-Protection: [1; mode=block] | 139 | X-XSS-Protection: [1; mode=block] |
145 | content-length: ['525'] | 140 | content-length: ['525'] |
146 | status: {code: 200, message: OK} | 141 | status: {code: 200, message: OK} |
@@ -158,9 +153,8 @@ interactions: | |||
158 | response: | 153 | response: |
159 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} | 154 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} |
160 | headers: | 155 | headers: |
161 | Cache-Control: ['max-age=0, private, must-revalidate'] | 156 | Cache-Control: ['no-cache, no-store'] |
162 | Content-Type: [application/json; charset=utf-8] | 157 | Content-Type: [application/json; charset=utf-8] |
163 | ETag: [W/"1e1fa14c270ff6960152323eda93cc79"] | ||
164 | Referrer-Policy: [strict-origin-when-cross-origin] | 158 | Referrer-Policy: [strict-origin-when-cross-origin] |
165 | Transfer-Encoding: [chunked] | 159 | Transfer-Encoding: [chunked] |
166 | Vary: ['Accept-Encoding, Origin'] | 160 | Vary: ['Accept-Encoding, Origin'] |
@@ -168,8 +162,8 @@ interactions: | |||
168 | X-Download-Options: [noopen] | 162 | X-Download-Options: [noopen] |
169 | X-Frame-Options: [SAMEORIGIN] | 163 | X-Frame-Options: [SAMEORIGIN] |
170 | X-Permitted-Cross-Domain-Policies: [none] | 164 | X-Permitted-Cross-Domain-Policies: [none] |
171 | X-Request-Id: [e750e8c4-eae0-4ed6-9563-00ac35d85daa] | 165 | X-Request-Id: [e24bcc17-e5c3-4506-8482-e78d5614c812] |
172 | X-Runtime: ['0.025393'] | 166 | X-Runtime: ['0.061804'] |
173 | X-XSS-Protection: [1; mode=block] | 167 | X-XSS-Protection: [1; mode=block] |
174 | content-length: ['209'] | 168 | content-length: ['209'] |
175 | status: {code: 200, message: OK} | 169 | status: {code: 200, message: OK} |
@@ -186,9 +180,8 @@ interactions: | |||
186 | response: | 180 | response: |
187 | body: {string: '[]'} | 181 | body: {string: '[]'} |
188 | headers: | 182 | headers: |
189 | Cache-Control: ['max-age=0, private, must-revalidate'] | 183 | Cache-Control: ['no-cache, no-store'] |
190 | Content-Type: [application/json; charset=utf-8] | 184 | Content-Type: [application/json; charset=utf-8] |
191 | ETag: [W/"e2dc74be154e07a1d543fffa1604d2ab"] | ||
192 | Referrer-Policy: [strict-origin-when-cross-origin] | 185 | Referrer-Policy: [strict-origin-when-cross-origin] |
193 | Transfer-Encoding: [chunked] | 186 | Transfer-Encoding: [chunked] |
194 | Vary: ['Accept-Encoding, Origin'] | 187 | Vary: ['Accept-Encoding, Origin'] |
@@ -196,8 +189,8 @@ interactions: | |||
196 | X-Download-Options: [noopen] | 189 | X-Download-Options: [noopen] |
197 | X-Frame-Options: [SAMEORIGIN] | 190 | X-Frame-Options: [SAMEORIGIN] |
198 | X-Permitted-Cross-Domain-Policies: [none] | 191 | X-Permitted-Cross-Domain-Policies: [none] |
199 | X-Request-Id: [15996817-bf63-4f5e-a34d-c6cf7702822c] | 192 | X-Request-Id: [041b992b-d66d-489a-aff7-32ab4807f1e6] |
200 | X-Runtime: ['0.019443'] | 193 | X-Runtime: ['0.040242'] |
201 | X-XSS-Protection: [1; mode=block] | 194 | X-XSS-Protection: [1; mode=block] |
202 | content-length: ['2'] | 195 | content-length: ['2'] |
203 | status: {code: 200, message: OK} | 196 | status: {code: 200, message: OK} |
@@ -215,9 +208,8 @@ interactions: | |||
215 | response: | 208 | response: |
216 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} | 209 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} |
217 | headers: | 210 | headers: |
218 | Cache-Control: ['max-age=0, private, must-revalidate'] | 211 | Cache-Control: ['no-cache, no-store'] |
219 | Content-Type: [application/json; charset=utf-8] | 212 | Content-Type: [application/json; charset=utf-8] |
220 | ETag: [W/"714cd19713205feb75ce771b61d4564b"] | ||
221 | Referrer-Policy: [strict-origin-when-cross-origin] | 213 | Referrer-Policy: [strict-origin-when-cross-origin] |
222 | Transfer-Encoding: [chunked] | 214 | Transfer-Encoding: [chunked] |
223 | Vary: ['Accept-Encoding, Origin'] | 215 | Vary: ['Accept-Encoding, Origin'] |
@@ -225,8 +217,8 @@ interactions: | |||
225 | X-Download-Options: [noopen] | 217 | X-Download-Options: [noopen] |
226 | X-Frame-Options: [SAMEORIGIN] | 218 | X-Frame-Options: [SAMEORIGIN] |
227 | X-Permitted-Cross-Domain-Policies: [none] | 219 | X-Permitted-Cross-Domain-Policies: [none] |
228 | X-Request-Id: [7710c7c9-40d9-4cd9-b483-2863d00916ff] | 220 | X-Request-Id: [449dfcd5-f405-4f12-afb2-b7ff619df166] |
229 | X-Runtime: ['0.041778'] | 221 | X-Runtime: ['0.097200'] |
230 | X-XSS-Protection: [1; mode=block] | 222 | X-XSS-Protection: [1; mode=block] |
231 | content-length: ['211'] | 223 | content-length: ['211'] |
232 | status: {code: 200, message: OK} | 224 | status: {code: 200, message: OK} |