diff options
Diffstat (limited to 'tests/cassettes/test_account_follow_unfollow.yaml')
-rw-r--r-- | tests/cassettes/test_account_follow_unfollow.yaml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/cassettes/test_account_follow_unfollow.yaml b/tests/cassettes/test_account_follow_unfollow.yaml index 4b6b85c..a6b1ec4 100644 --- a/tests/cassettes/test_account_follow_unfollow.yaml +++ b/tests/cassettes/test_account_follow_unfollow.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":"109367691027217373","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00: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":"109383664751443295","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-21T00: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-+zR6dRLTpovSvkZdyv4b7A==''; | 26 | style-src ''self'' http://localhost:3000 ''nonce-DYylji9upmYdmprcnvYfZw==''; |
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/"26a41decc4abdc0f1b476cd7f7c6bc85" | 36 | - W/"5f1b08410562cb6329b673347086f76f" |
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,16 +49,16 @@ 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 | - 3e2b6bf5-bbe9-4660-b882-a4c4a161ad93 | 52 | - e7f2ed87-218c-4b3b-b2c4-a46b173ac5cc |
53 | X-Runtime: | 53 | X-Runtime: |
54 | - '0.021811' | 54 | - '0.023852' |
55 | X-XSS-Protection: | 55 | X-XSS-Protection: |
56 | - 1; mode=block | 56 | - 1; mode=block |
57 | status: | 57 | status: |
58 | code: 200 | 58 | code: 200 |
59 | message: OK | 59 | message: OK |
60 | - request: | 60 | - request: |
61 | body: id=109367691027217373&reblogs=1¬ify=0 | 61 | body: reblogs=1¬ify=0 |
62 | headers: | 62 | headers: |
63 | Accept: | 63 | Accept: |
64 | - '*/*' | 64 | - '*/*' |
@@ -69,23 +69,23 @@ interactions: | |||
69 | Connection: | 69 | Connection: |
70 | - keep-alive | 70 | - keep-alive |
71 | Content-Length: | 71 | Content-Length: |
72 | - '40' | 72 | - '18' |
73 | Content-Type: | 73 | Content-Type: |
74 | - application/x-www-form-urlencoded | 74 | - application/x-www-form-urlencoded |
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/109367691027217373/follow | 78 | uri: http://localhost:3000/api/v1/accounts/109383664751443295/follow |
79 | response: | 79 | response: |
80 | body: | 80 | body: |
81 | string: '{"id":"109367691027217373","following":true,"showing_reblogs":true,"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":""}' | 81 | string: '{"id":"109383664751443295","following":true,"showing_reblogs":true,"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":""}' |
82 | headers: | 82 | headers: |
83 | Cache-Control: | 83 | Cache-Control: |
84 | - no-store | 84 | - no-store |
85 | Content-Security-Policy: | 85 | Content-Security-Policy: |
86 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 86 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
87 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 87 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
88 | style-src ''self'' http://localhost:3000 ''nonce-4u0eY56P8miqEg65oyNtpA==''; | 88 | style-src ''self'' http://localhost:3000 ''nonce-lGveOJt0UDOVV3H44PsGSw==''; |
89 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 89 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
90 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 90 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
91 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 91 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -95,7 +95,7 @@ interactions: | |||
95 | Content-Type: | 95 | Content-Type: |
96 | - application/json; charset=utf-8 | 96 | - application/json; charset=utf-8 |
97 | ETag: | 97 | ETag: |
98 | - W/"08ded78d20e93b0aa22de7c0bebacc30" | 98 | - W/"3d561d78586518cc88d52dcb3ac9e0a3" |
99 | Referrer-Policy: | 99 | Referrer-Policy: |
100 | - strict-origin-when-cross-origin | 100 | - strict-origin-when-cross-origin |
101 | Transfer-Encoding: | 101 | Transfer-Encoding: |
@@ -115,11 +115,11 @@ interactions: | |||
115 | X-RateLimit-Remaining: | 115 | X-RateLimit-Remaining: |
116 | - '398' | 116 | - '398' |
117 | X-RateLimit-Reset: | 117 | X-RateLimit-Reset: |
118 | - '2022-11-20T00:00:00.967032Z' | 118 | - '2022-11-22T00:00:00.220154Z' |
119 | X-Request-Id: | 119 | X-Request-Id: |
120 | - 179cce52-66be-47b0-bc9d-0d02cd514e5f | 120 | - 190f43b2-0115-4c18-860b-d04f76429634 |
121 | X-Runtime: | 121 | X-Runtime: |
122 | - '0.022742' | 122 | - '0.045440' |
123 | X-XSS-Protection: | 123 | X-XSS-Protection: |
124 | - 1; mode=block | 124 | - 1; mode=block |
125 | status: | 125 | status: |
@@ -141,17 +141,17 @@ interactions: | |||
141 | User-Agent: | 141 | User-Agent: |
142 | - tests/v311 | 142 | - tests/v311 |
143 | method: POST | 143 | method: POST |
144 | uri: http://localhost:3000/api/v1/accounts/109367691027217373/unfollow | 144 | uri: http://localhost:3000/api/v1/accounts/109383664751443295/unfollow |
145 | response: | 145 | response: |
146 | body: | 146 | body: |
147 | string: '{"id":"109367691027217373","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":""}' | 147 | string: '{"id":"109383664751443295","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":""}' |
148 | headers: | 148 | headers: |
149 | Cache-Control: | 149 | Cache-Control: |
150 | - no-store | 150 | - no-store |
151 | Content-Security-Policy: | 151 | Content-Security-Policy: |
152 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 152 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
153 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 153 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
154 | style-src ''self'' http://localhost:3000 ''nonce-vP199n1Z3XKKwv1L+fpKGg==''; | 154 | style-src ''self'' http://localhost:3000 ''nonce-Afs20P6RJ0BbhX/J2b/Mfw==''; |
155 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 155 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
156 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 156 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
157 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 157 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -161,7 +161,7 @@ interactions: | |||
161 | Content-Type: | 161 | Content-Type: |
162 | - application/json; charset=utf-8 | 162 | - application/json; charset=utf-8 |
163 | ETag: | 163 | ETag: |
164 | - W/"de4a48ee8790ee64cc1d3154ab11ba3a" | 164 | - W/"fdde9052870e9f115f5c25c05c7e9eef" |
165 | Referrer-Policy: | 165 | Referrer-Policy: |
166 | - strict-origin-when-cross-origin | 166 | - strict-origin-when-cross-origin |
167 | Transfer-Encoding: | 167 | Transfer-Encoding: |
@@ -177,9 +177,9 @@ interactions: | |||
177 | X-Permitted-Cross-Domain-Policies: | 177 | X-Permitted-Cross-Domain-Policies: |
178 | - none | 178 | - none |
179 | X-Request-Id: | 179 | X-Request-Id: |
180 | - 133963c2-d5b6-47d8-942b-046422bb3038 | 180 | - 0bcd9a1c-94c0-4207-b075-85b9dffeea75 |
181 | X-Runtime: | 181 | X-Runtime: |
182 | - '0.017332' | 182 | - '0.026172' |
183 | X-XSS-Protection: | 183 | X-XSS-Protection: |
184 | - 1; mode=block | 184 | - 1; mode=block |
185 | status: | 185 | status: |