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 ed01498..591d449 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":"109336898971915318","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":"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}}' |
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-qikInhe0GTLwH6c0VOafCw==''; | 26 | style-src ''self'' http://localhost:3000 ''nonce-OdLIolArtPfUBUuSLInqeQ==''; |
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/"42368453c18e76d233e5f4ac57d3de69" | 36 | - W/"91cc35ca6300f8fcd18839f0f85f1152" |
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 | - f6e1fe10-f78b-4127-947c-39a93ba07286 | 52 | - 2e43c7c4-15c3-4f1a-8097-40cba7a3c1f2 |
53 | X-Runtime: | 53 | X-Runtime: |
54 | - '0.018823' | 54 | - '0.020374' |
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=109336898971915318&reblogs=1¬ify=0 | 61 | body: id=109337440467895233&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/109336898971915318/follow | 78 | uri: http://localhost:3000/api/v1/accounts/109337440467895233/follow |
79 | response: | 79 | response: |
80 | body: | 80 | body: |
81 | string: '{"id":"109336898971915318","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":"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":""}' |
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-fOKPv4nAYBsCyXqgd18XWQ==''; | 88 | style-src ''self'' http://localhost:3000 ''nonce-d2AP4iffxysJpv4DlU9Uag==''; |
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/"0c6748228fe729d68e4376f765e96f2f" | 98 | - W/"f41bc668e73edcd14927a1be77af4e10" |
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.603184Z' | 118 | - '2022-11-14T00:00:00.619853Z' |
119 | X-Request-Id: | 119 | X-Request-Id: |
120 | - 095504b0-fa3a-4f2f-badb-dc18628f7ad2 | 120 | - 81dc6735-54dc-4530-ab36-763a1d7caf2e |
121 | X-Runtime: | 121 | X-Runtime: |
122 | - '0.019469' | 122 | - '0.038588' |
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/109336898971915318/unfollow | 144 | uri: http://localhost:3000/api/v1/accounts/109337440467895233/unfollow |
145 | response: | 145 | response: |
146 | body: | 146 | body: |
147 | string: '{"id":"109336898971915318","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":"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":""}' |
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-xl70G+6xxg/I5tgwFQ2QuQ==''; | 154 | style-src ''self'' http://localhost:3000 ''nonce-Jrn3riH0c+DkVlO+9Bl3UA==''; |
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/"b9dd6d5b54697012fa8e870d86d958d3" | 164 | - W/"214f278429bf712708e952ee2355bf5e" |
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 | - a97b73ac-ad93-46bc-83f1-7b95bcc56862 | 180 | - ab55281c-2c7f-45af-aa02-54793022b5de |
181 | X-Runtime: | 181 | X-Runtime: |
182 | - '0.016936' | 182 | - '0.022415' |
183 | X-XSS-Protection: | 183 | X-XSS-Protection: |
184 | - 1; mode=block | 184 | - 1; mode=block |
185 | status: | 185 | status: |