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 cb3476d..ed01498 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":"109336623096259500","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":"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}}' |
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-T1ZICefQ1sAxIU1E8QpJeQ==''; | 26 | style-src ''self'' http://localhost:3000 ''nonce-qikInhe0GTLwH6c0VOafCw==''; |
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/"045b82c55c495fceaaae2b0dc2b6d8db" | 36 | - W/"42368453c18e76d233e5f4ac57d3de69" |
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 | - d7fbb47a-8dd2-4027-8585-4f50025f219c | 52 | - f6e1fe10-f78b-4127-947c-39a93ba07286 |
53 | X-Runtime: | 53 | X-Runtime: |
54 | - '0.018187' | 54 | - '0.018823' |
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=109336623096259500&reblogs=1 | 61 | body: id=109336898971915318&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 | - '31' | 72 | - '40' |
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/109336623096259500/follow | 78 | uri: http://localhost:3000/api/v1/accounts/109336898971915318/follow |
79 | response: | 79 | response: |
80 | body: | 80 | body: |
81 | string: '{"id":"109336623096259500","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":"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":""}' |
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-TO/SuIL2cWx0uQ69DL6WXw==''; | 88 | style-src ''self'' http://localhost:3000 ''nonce-fOKPv4nAYBsCyXqgd18XWQ==''; |
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/"3db6c93f2af18b52d1b291d211927fba" | 98 | - W/"0c6748228fe729d68e4376f765e96f2f" |
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.184928Z' | 118 | - '2022-11-14T00:00:00.603184Z' |
119 | X-Request-Id: | 119 | X-Request-Id: |
120 | - 764cf6a3-06a8-41fc-a96f-4bb44baeb69c | 120 | - 095504b0-fa3a-4f2f-badb-dc18628f7ad2 |
121 | X-Runtime: | 121 | X-Runtime: |
122 | - '0.026903' | 122 | - '0.019469' |
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/109336623096259500/unfollow | 144 | uri: http://localhost:3000/api/v1/accounts/109336898971915318/unfollow |
145 | response: | 145 | response: |
146 | body: | 146 | body: |
147 | string: '{"id":"109336623096259500","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":"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":""}' |
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-bbyEMlsIgYoo0SPD+UrZBg==''; | 154 | style-src ''self'' http://localhost:3000 ''nonce-xl70G+6xxg/I5tgwFQ2QuQ==''; |
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/"945f7c7731010ff2bfa8f3f3889c235c" | 164 | - W/"b9dd6d5b54697012fa8e870d86d958d3" |
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 | - 4818f0ba-7bd5-449a-9202-d6d207e79426 | 180 | - a97b73ac-ad93-46bc-83f1-7b95bcc56862 |
181 | X-Runtime: | 181 | X-Runtime: |
182 | - '0.021879' | 182 | - '0.016936' |
183 | X-XSS-Protection: | 183 | X-XSS-Protection: |
184 | - 1; mode=block | 184 | - 1; mode=block |
185 | status: | 185 | status: |