diff options
author | halcy <halcy@ARARAGI-KUN> | 2022-11-13 15:33:10 +0200 |
---|---|---|
committer | halcy <halcy@ARARAGI-KUN> | 2022-11-13 15:33:10 +0200 |
commit | b1e1ec7bdc9e84ecd31626f1a4fbf645e84d0bb2 (patch) | |
tree | 3ecf530456b311057658b3b2e749ad017074455b /tests/cassettes/test_push_set.yaml | |
parent | a17b20cfa142469019cd5982ba200510afc1f884 (diff) | |
download | mastodon.py-b1e1ec7bdc9e84ecd31626f1a4fbf645e84d0bb2.tar.gz |
Add support for timed mutes, fix tests to actually pass with new setup
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 ed50cdd..5a978d8 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=BOqK%2BBFKWVL3y5bzJ0flceU3RlwlMLkCn14TufF0BP%2BL0LKc0wpJzXEJX%2BB8upYfUPg0vbe8c3EhfCUb8CPiZ6M%3D&subscription%5Bkeys%5D%5Bauth%5D=D%2BFsvuT7XJF9NmtoccCFbQ%3D%3D | 3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BMRFi8X8HwJt8DpsOwDy4Om%2BQSePSKRFWx9j0lQGJGscQQl9Mq%2F51tFy5OC9hzaw4howCVIIpaSlhlzCRXlO0R8%3D&subscription%5Bkeys%5D%5Bauth%5D=In7jdPyRdpXgbnt1rpkMMQ%3D%3D |
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 | - '248' | 14 | - '244' |
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":{},"server_key":"BFsPJBvWr6iQB4n0QAxBbqg5_MLh-Rm1we2OefcfRUaqTrZrB6k0E9FdzlBWD_xp8KAJrsWetwf2-l11cvSQnDU="}' | 23 | string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' |
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-0L6vzkLsm8vr0Amb2GskYw==''; | 30 | style-src ''self'' http://localhost:3000 ''nonce-8YWMtj/i/ws5UqZCh8mBcg==''; |
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/"84d1ccad0cee8aa71855bc8ba7c81e0d" | 40 | - W/"af702012e6beb01ed6e0b38a78cd9d2e" |
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 | - 788002f3-4047-48cc-a58b-7993a9a3234b | 56 | - a1299347-ee67-4d01-8e16-6f1e756a7c72 |
57 | X-Runtime: | 57 | X-Runtime: |
58 | - '0.020483' | 58 | - '0.029314' |
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":{},"server_key":"BFsPJBvWr6iQB4n0QAxBbqg5_MLh-Rm1we2OefcfRUaqTrZrB6k0E9FdzlBWD_xp8KAJrsWetwf2-l11cvSQnDU="}' | 81 | string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' |
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-To8ysnGAzZSQ9J16jqmZvQ==''; | 88 | style-src ''self'' http://localhost:3000 ''nonce-JVsYBXQ/BjSGaflRZoRuCg==''; |
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/"84d1ccad0cee8aa71855bc8ba7c81e0d" | 98 | - W/"af702012e6beb01ed6e0b38a78cd9d2e" |
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 | - 43ac3987-277d-441d-87b1-3eb02e769e3d | 114 | - 5ceaab93-01e1-4f7e-973a-5a6e4b9e0eef |
115 | X-Runtime: | 115 | X-Runtime: |
116 | - '0.007561' | 116 | - '0.008223' |
117 | X-XSS-Protection: | 117 | X-XSS-Protection: |
118 | - 1; mode=block | 118 | - 1; mode=block |
119 | status: | 119 | status: |