diff options
Diffstat (limited to 'tests/cassettes/test_account_follow_unfollow.yaml')
-rw-r--r-- | tests/cassettes/test_account_follow_unfollow.yaml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/cassettes/test_account_follow_unfollow.yaml b/tests/cassettes/test_account_follow_unfollow.yaml index 591d449..4b6b85c 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":"109337440467895233","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}}' | 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}}' |
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-OdLIolArtPfUBUuSLInqeQ==''; | 26 | style-src ''self'' http://localhost:3000 ''nonce-+zR6dRLTpovSvkZdyv4b7A==''; |
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/"91cc35ca6300f8fcd18839f0f85f1152" | 36 | - W/"26a41decc4abdc0f1b476cd7f7c6bc85" |
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 | - 2e43c7c4-15c3-4f1a-8097-40cba7a3c1f2 | 52 | - 3e2b6bf5-bbe9-4660-b882-a4c4a161ad93 |
53 | X-Runtime: | 53 | X-Runtime: |
54 | - '0.020374' | 54 | - '0.021811' |
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=109337440467895233&reblogs=1¬ify=0 | 61 | body: id=109367691027217373&reblogs=1¬ify=0 |
62 | headers: | 62 | headers: |
63 | Accept: | 63 | Accept: |
64 | - '*/*' | 64 | - '*/*' |
@@ -75,17 +75,17 @@ interactions: | |||
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/109337440467895233/follow | 78 | uri: http://localhost:3000/api/v1/accounts/109367691027217373/follow |
79 | response: | 79 | response: |
80 | body: | 80 | body: |
81 | string: '{"id":"109337440467895233","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":"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":""}' |
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-d2AP4iffxysJpv4DlU9Uag==''; | 88 | style-src ''self'' http://localhost:3000 ''nonce-4u0eY56P8miqEg65oyNtpA==''; |
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/"f41bc668e73edcd14927a1be77af4e10" | 98 | - W/"08ded78d20e93b0aa22de7c0bebacc30" |
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-14T00:00:00.619853Z' | 118 | - '2022-11-20T00:00:00.967032Z' |
119 | X-Request-Id: | 119 | X-Request-Id: |
120 | - 81dc6735-54dc-4530-ab36-763a1d7caf2e | 120 | - 179cce52-66be-47b0-bc9d-0d02cd514e5f |
121 | X-Runtime: | 121 | X-Runtime: |
122 | - '0.038588' | 122 | - '0.022742' |
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/109337440467895233/unfollow | 144 | uri: http://localhost:3000/api/v1/accounts/109367691027217373/unfollow |
145 | response: | 145 | response: |
146 | body: | 146 | body: |
147 | string: '{"id":"109337440467895233","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":"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":""}' |
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-Jrn3riH0c+DkVlO+9Bl3UA==''; | 154 | style-src ''self'' http://localhost:3000 ''nonce-vP199n1Z3XKKwv1L+fpKGg==''; |
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/"214f278429bf712708e952ee2355bf5e" | 164 | - W/"de4a48ee8790ee64cc1d3154ab11ba3a" |
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 | - ab55281c-2c7f-45af-aa02-54793022b5de | 180 | - 133963c2-d5b6-47d8-942b-046422bb3038 |
181 | X-Runtime: | 181 | X-Runtime: |
182 | - '0.022415' | 182 | - '0.017332' |
183 | X-XSS-Protection: | 183 | X-XSS-Protection: |
184 | - 1; mode=block | 184 | - 1; mode=block |
185 | status: | 185 | status: |