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_delete.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_delete.yaml')
-rw-r--r-- | tests/cassettes/test_push_delete.yaml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/cassettes/test_push_delete.yaml b/tests/cassettes/test_push_delete.yaml index 19e4605..bf1d6c5 100644 --- a/tests/cassettes/test_push_delete.yaml +++ b/tests/cassettes/test_push_delete.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=BBaCe5f0XCe0yktCrWzOGfZ9RGDNdNBA7LpbMBrwsRgALTpJgVLoBx5wKTQ9g5kjYlS4a%2BEZgeTA661PPUcSmxc%3D&subscription%5Bkeys%5D%5Bauth%5D=rP0KB25am52fthOb6cQQzA%3D%3D | 3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BC5Qnli7K1cJK%2FbVM%2BBSGayYZPxqIiGC4mYdmuzmXcenWatra4OFfz8aO551TG1n9VzqkGv28TWSnMvKEKuQrA8%3D&subscription%5Bkeys%5D%5Bauth%5D=lE7ozJ3D%2BlP%2BxoNOvrPTmg%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 | - '242' | 14 | - '248' |
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":3,"endpoint":"https://example.com","alerts":{},"server_key":"BFsPJBvWr6iQB4n0QAxBbqg5_MLh-Rm1we2OefcfRUaqTrZrB6k0E9FdzlBWD_xp8KAJrsWetwf2-l11cvSQnDU="}' | 23 | string: '{"id":3,"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-XC0dhdOGpvpL47EswqtZcA==''; | 30 | style-src ''self'' http://localhost:3000 ''nonce-M1sH7r/0tc0RfJ7beafo9A==''; |
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/"398bcee62a4034e17faa19a210fae833" | 40 | - W/"9e2073ad88ede2be0172ab45fce7985e" |
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 | - 03b97cc9-68b0-49ac-9b07-8bc9e6607ef5 | 56 | - aa412557-c3ad-4c92-9f05-d30280cc0b2c |
57 | X-Runtime: | 57 | X-Runtime: |
58 | - '0.014296' | 58 | - '0.013682' |
59 | X-XSS-Protection: | 59 | X-XSS-Protection: |
60 | - 1; mode=block | 60 | - 1; mode=block |
61 | status: | 61 | status: |
@@ -87,7 +87,7 @@ interactions: | |||
87 | Content-Security-Policy: | 87 | Content-Security-Policy: |
88 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 88 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
89 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 89 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
90 | style-src ''self'' http://localhost:3000 ''nonce-QNwmHb5+a9IJE1NionA6aw==''; | 90 | style-src ''self'' http://localhost:3000 ''nonce-5QZVsYmsLBeoBHmtYrmzjg==''; |
91 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 91 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
92 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 92 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
93 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 93 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -113,9 +113,9 @@ interactions: | |||
113 | X-Permitted-Cross-Domain-Policies: | 113 | X-Permitted-Cross-Domain-Policies: |
114 | - none | 114 | - none |
115 | X-Request-Id: | 115 | X-Request-Id: |
116 | - 89f2550a-77b3-4680-a599-de2d4c231b97 | 116 | - c32e9e7f-3169-4ebd-bf6e-f77a781a54ca |
117 | X-Runtime: | 117 | X-Runtime: |
118 | - '0.011466' | 118 | - '0.011723' |
119 | X-XSS-Protection: | 119 | X-XSS-Protection: |
120 | - 1; mode=block | 120 | - 1; mode=block |
121 | status: | 121 | status: |
@@ -145,7 +145,7 @@ interactions: | |||
145 | Content-Security-Policy: | 145 | Content-Security-Policy: |
146 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 146 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
147 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 147 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
148 | style-src ''self'' http://localhost:3000 ''nonce-O2jjgL99U6dhnTkBoyBiHA==''; | 148 | style-src ''self'' http://localhost:3000 ''nonce-oeUyPfok+9XhZnkkSOiKsw==''; |
149 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 149 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
150 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 150 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
151 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 151 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -169,9 +169,9 @@ interactions: | |||
169 | X-Permitted-Cross-Domain-Policies: | 169 | X-Permitted-Cross-Domain-Policies: |
170 | - none | 170 | - none |
171 | X-Request-Id: | 171 | X-Request-Id: |
172 | - 038b3671-9c22-4f12-91e9-5ad99d14cf20 | 172 | - 497515da-2758-471a-b6c0-9f0dbefb908c |
173 | X-Runtime: | 173 | X-Runtime: |
174 | - '0.041113' | 174 | - '0.007163' |
175 | X-XSS-Protection: | 175 | X-XSS-Protection: |
176 | - 1; mode=block | 176 | - 1; mode=block |
177 | status: | 177 | status: |