diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-21 22:34:12 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-21 22:34:12 +0200 |
commit | 6abaff55e7e78b83bd03af9f370a1256e7271b4a (patch) | |
tree | 976002d07332d591c554892495352172bf609c09 /tests/cassettes/test_push_set.yaml | |
parent | f78298066fb676f84532caa2abc14b0970428acc (diff) | |
download | mastodon.py-6abaff55e7e78b83bd03af9f370a1256e7271b4a.tar.gz |
Refresh tests
Diffstat (limited to 'tests/cassettes/test_push_set.yaml')
-rw-r--r-- | tests/cassettes/test_push_set.yaml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/cassettes/test_push_set.yaml b/tests/cassettes/test_push_set.yaml index 8d808c0..264098a 100644 --- a/tests/cassettes/test_push_set.yaml +++ b/tests/cassettes/test_push_set.yaml | |||
@@ -1,6 +1,6 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BBEd3VOJHPLQSApTKwZSs4RNTDfOqN7bhzi4FJohKwxAVJlGkEKZKG98jLvCxaD%2FdgRIpyWSwsQuMlwVRlzZz4w%3D&subscription%5Bkeys%5D%5Bauth%5D=4P24%2BSpke%2BIYRfppXuVksA%3D%3D&policy=none&data%5Balerts%5D%5Bfollow%5D=1&data%5Balerts%5D%5Bfavourite%5D=1&data%5Balerts%5D%5Breblog%5D=1&data%5Balerts%5D%5Bmention%5D=1&data%5Balerts%5D%5Bpoll%5D=1&data%5Balerts%5D%5Bfollow_request%5D=1&data%5Balerts%5D%5Bstatus%5D=1 | 3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BCYAa2ys6OCBSNDrKejYn8lAmNkc%2FimO%2B5qdS3KqWUJmL3qpJgdNv%2Bd%2BJ1JHPnwFQBhKGvVRx5Xkz74b8dhX1Hc%3D&subscription%5Bkeys%5D%5Bauth%5D=AM%2FiiY58o8UvBlhH%2BxsikQ%3D%3D&policy=none&data%5Balerts%5D%5Bfollow%5D=1&data%5Balerts%5D%5Bfavourite%5D=1&data%5Balerts%5D%5Breblog%5D=1&data%5Balerts%5D%5Bmention%5D=1&data%5Balerts%5D%5Bpoll%5D=1&data%5Balerts%5D%5Bfollow_request%5D=1&data%5Balerts%5D%5Bstatus%5D=1 |
4 | headers: | 4 | headers: |
5 | Accept: | 5 | Accept: |
6 | - '*/*' | 6 | - '*/*' |
@@ -11,7 +11,7 @@ interactions: | |||
11 | Connection: | 11 | Connection: |
12 | - keep-alive | 12 | - keep-alive |
13 | Content-Length: | 13 | Content-Length: |
14 | - '485' | 14 | - '491' |
15 | Content-Type: | 15 | Content-Type: |
16 | - application/x-www-form-urlencoded | 16 | - application/x-www-form-urlencoded |
17 | User-Agent: | 17 | User-Agent: |
@@ -20,14 +20,14 @@ interactions: | |||
20 | uri: http://localhost:3000/api/v1/push/subscription | 20 | uri: http://localhost:3000/api/v1/push/subscription |
21 | response: | 21 | response: |
22 | body: | 22 | body: |
23 | string: '{"id":1,"endpoint":"https://example.com","alerts":{"mention":true,"status":true,"reblog":true,"follow":true,"follow_request":true,"favourite":true,"poll":true},"server_key":"BAXUE0TaUgsrhjLqzO_370WUzChXfo5ss7qFTZeLYPeo_wUOf25JdejEjdssCvwKgGIHcrwvQ26Bjz7DdYWqKHY="}' | 23 | string: '{"id":1,"endpoint":"https://example.com","alerts":{"mention":true,"status":true,"reblog":true,"follow":true,"follow_request":true,"favourite":true,"poll":true},"server_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' |
24 | headers: | 24 | headers: |
25 | Cache-Control: | 25 | Cache-Control: |
26 | - no-store | 26 | - no-store |
27 | Content-Security-Policy: | 27 | Content-Security-Policy: |
28 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 28 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
29 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 29 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
30 | style-src ''self'' http://localhost:3000 ''nonce-Dc9MrnTXvCmmvYQgw2jDrA==''; | 30 | style-src ''self'' http://localhost:3000 ''nonce-tTvUGRDqbGkcfXPWY0IvGA==''; |
31 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 31 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
32 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 32 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
33 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 33 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -37,7 +37,7 @@ interactions: | |||
37 | Content-Type: | 37 | Content-Type: |
38 | - application/json; charset=utf-8 | 38 | - application/json; charset=utf-8 |
39 | ETag: | 39 | ETag: |
40 | - W/"7ae737871abe0dc2574c27e609811d87" | 40 | - W/"f9bd977aa2be722065d808b22eec20c8" |
41 | Referrer-Policy: | 41 | Referrer-Policy: |
42 | - strict-origin-when-cross-origin | 42 | - strict-origin-when-cross-origin |
43 | Transfer-Encoding: | 43 | Transfer-Encoding: |
@@ -53,9 +53,9 @@ interactions: | |||
53 | X-Permitted-Cross-Domain-Policies: | 53 | X-Permitted-Cross-Domain-Policies: |
54 | - none | 54 | - none |
55 | X-Request-Id: | 55 | X-Request-Id: |
56 | - 43cad700-7e18-4d16-8b54-362804853d12 | 56 | - 546bdc29-90f9-49d7-b1a8-74e2fe0a43a6 |
57 | X-Runtime: | 57 | X-Runtime: |
58 | - '0.017986' | 58 | - '0.018887' |
59 | X-XSS-Protection: | 59 | X-XSS-Protection: |
60 | - 1; mode=block | 60 | - 1; mode=block |
61 | status: | 61 | status: |
@@ -78,14 +78,14 @@ interactions: | |||
78 | uri: http://localhost:3000/api/v1/push/subscription | 78 | uri: http://localhost:3000/api/v1/push/subscription |
79 | response: | 79 | response: |
80 | body: | 80 | body: |
81 | string: '{"id":1,"endpoint":"https://example.com","alerts":{"mention":true,"status":true,"reblog":true,"follow":true,"follow_request":true,"favourite":true,"poll":true},"server_key":"BAXUE0TaUgsrhjLqzO_370WUzChXfo5ss7qFTZeLYPeo_wUOf25JdejEjdssCvwKgGIHcrwvQ26Bjz7DdYWqKHY="}' | 81 | string: '{"id":1,"endpoint":"https://example.com","alerts":{"mention":true,"status":true,"reblog":true,"follow":true,"follow_request":true,"favourite":true,"poll":true},"server_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' |
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-Ba5XOKeQ8mtZNjsBDaEefg==''; | 88 | style-src ''self'' http://localhost:3000 ''nonce-A81lAm5muAAx1EqJMgC4xw==''; |
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/"7ae737871abe0dc2574c27e609811d87" | 98 | - W/"f9bd977aa2be722065d808b22eec20c8" |
99 | Referrer-Policy: | 99 | Referrer-Policy: |
100 | - strict-origin-when-cross-origin | 100 | - strict-origin-when-cross-origin |
101 | Transfer-Encoding: | 101 | Transfer-Encoding: |
@@ -111,9 +111,9 @@ interactions: | |||
111 | X-Permitted-Cross-Domain-Policies: | 111 | X-Permitted-Cross-Domain-Policies: |
112 | - none | 112 | - none |
113 | X-Request-Id: | 113 | X-Request-Id: |
114 | - 491472bd-0527-4587-8a49-36ca95f46553 | 114 | - eb528b24-b3dc-4f92-b983-5e25e93c32b1 |
115 | X-Runtime: | 115 | X-Runtime: |
116 | - '0.007572' | 116 | - '0.008184' |
117 | X-XSS-Protection: | 117 | X-XSS-Protection: |
118 | - 1; mode=block | 118 | - 1; mode=block |
119 | status: | 119 | status: |