diff options
Diffstat (limited to 'tests/cassettes/test_push_update.yaml')
-rw-r--r-- | tests/cassettes/test_push_update.yaml | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/tests/cassettes/test_push_update.yaml b/tests/cassettes/test_push_update.yaml index a1a74ea..8929b88 100644 --- a/tests/cassettes/test_push_update.yaml +++ b/tests/cassettes/test_push_update.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=BPEWY%2B88gq8yoISfu9Yt6wZ%2BvM5gp6KVQAjkzxmh%2F9h%2B7Z4HMSOTkx57dcdbnLsD0voN2GSYRQob1dDIEJ2y8jM%3D&subscription%5Bkeys%5D%5Bauth%5D=kfx8cT58M1C4z0WqtgVpiA%3D%3D&data%5Balerts%5D%5Bfollow%5D=0&data%5Balerts%5D%5Bfavourite%5D=0&data%5Balerts%5D%5Breblog%5D=0&data%5Balerts%5D%5Bmention%5D=0 | 3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BM8%2FoiVbTQpdqT%2Fw80MIvDMoLI0pOiBBlVnOTZNIWpT8u%2BcAufNi5ZHpifoI7YzQJIbA82g4zc6zSgYEW1%2BZhv8%3D&subscription%5Bkeys%5D%5Bauth%5D=HPq7PnVB8YXjE2AdbIpVLQ%3D%3D&data%5Balerts%5D%5Bfollow%5D=0&data%5Balerts%5D%5Bfavourite%5D=0&data%5Balerts%5D%5Breblog%5D=0&data%5Balerts%5D%5Bmention%5D=0 |
4 | headers: | 4 | headers: |
5 | Accept: | 5 | Accept: |
6 | - '*/*' | 6 | - '*/*' |
@@ -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":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' | 23 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' |
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-5u7qUEi8hLI4A76/3sOj/w==''; | 30 | style-src ''self'' http://localhost:3000 ''nonce-WbxenrOVrir/tBGwXifiaA==''; |
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/"4ef26ec5cc06120fec57395a4bc6e020" | 40 | - W/"c7c21bc52b1e9c3ec8fabd6d70c84a85" |
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 | - 6707a574-d97c-4c8a-a8bf-f58fcb5dbde9 | 56 | - 960e47fd-23f9-4e7b-a79b-74139c0708eb |
57 | X-Runtime: | 57 | X-Runtime: |
58 | - '0.015890' | 58 | - '0.014556' |
59 | X-XSS-Protection: | 59 | X-XSS-Protection: |
60 | - 1; mode=block | 60 | - 1; mode=block |
61 | status: | 61 | status: |
@@ -82,14 +82,14 @@ interactions: | |||
82 | uri: http://localhost:3000/api/v1/push/subscription | 82 | uri: http://localhost:3000/api/v1/push/subscription |
83 | response: | 83 | response: |
84 | body: | 84 | body: |
85 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":true,"reblog":true,"follow":true,"favourite":true},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' | 85 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":true,"reblog":true,"follow":true,"favourite":true},"server_key":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' |
86 | headers: | 86 | headers: |
87 | Cache-Control: | 87 | Cache-Control: |
88 | - no-store | 88 | - no-store |
89 | Content-Security-Policy: | 89 | Content-Security-Policy: |
90 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 90 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
91 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 91 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
92 | style-src ''self'' http://localhost:3000 ''nonce-fS4ASM2BF2yj/eutIQx7mw==''; | 92 | style-src ''self'' http://localhost:3000 ''nonce-qUAxPxHn6te77PLdA4KI0g==''; |
93 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 93 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
94 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 94 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
95 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 95 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -99,7 +99,7 @@ interactions: | |||
99 | Content-Type: | 99 | Content-Type: |
100 | - application/json; charset=utf-8 | 100 | - application/json; charset=utf-8 |
101 | ETag: | 101 | ETag: |
102 | - W/"0d728013081c5499d4fe43a8bebdb3ec" | 102 | - W/"10c614045aa34357d3beaf175fe69bcc" |
103 | Referrer-Policy: | 103 | Referrer-Policy: |
104 | - strict-origin-when-cross-origin | 104 | - strict-origin-when-cross-origin |
105 | Transfer-Encoding: | 105 | Transfer-Encoding: |
@@ -115,9 +115,9 @@ interactions: | |||
115 | X-Permitted-Cross-Domain-Policies: | 115 | X-Permitted-Cross-Domain-Policies: |
116 | - none | 116 | - none |
117 | X-Request-Id: | 117 | X-Request-Id: |
118 | - 05cd8403-fe6f-48e2-87e0-d7a074d07580 | 118 | - daaa3c29-82ab-4a0a-94a4-79f0693c3d82 |
119 | X-Runtime: | 119 | X-Runtime: |
120 | - '0.012628' | 120 | - '0.010848' |
121 | X-XSS-Protection: | 121 | X-XSS-Protection: |
122 | - 1; mode=block | 122 | - 1; mode=block |
123 | status: | 123 | status: |
@@ -140,14 +140,14 @@ interactions: | |||
140 | uri: http://localhost:3000/api/v1/push/subscription | 140 | uri: http://localhost:3000/api/v1/push/subscription |
141 | response: | 141 | response: |
142 | body: | 142 | body: |
143 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":true,"reblog":true,"follow":true,"favourite":true},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' | 143 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":true,"reblog":true,"follow":true,"favourite":true},"server_key":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' |
144 | headers: | 144 | headers: |
145 | Cache-Control: | 145 | Cache-Control: |
146 | - no-store | 146 | - no-store |
147 | Content-Security-Policy: | 147 | Content-Security-Policy: |
148 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 148 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
149 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 149 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
150 | style-src ''self'' http://localhost:3000 ''nonce-ghoRRsiBaBnBeQLro/FXrA==''; | 150 | style-src ''self'' http://localhost:3000 ''nonce-rxECX1Kr7fjbgyIxVfZVqw==''; |
151 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 151 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
152 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 152 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
153 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 153 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -157,7 +157,7 @@ interactions: | |||
157 | Content-Type: | 157 | Content-Type: |
158 | - application/json; charset=utf-8 | 158 | - application/json; charset=utf-8 |
159 | ETag: | 159 | ETag: |
160 | - W/"0d728013081c5499d4fe43a8bebdb3ec" | 160 | - W/"10c614045aa34357d3beaf175fe69bcc" |
161 | Referrer-Policy: | 161 | Referrer-Policy: |
162 | - strict-origin-when-cross-origin | 162 | - strict-origin-when-cross-origin |
163 | Transfer-Encoding: | 163 | Transfer-Encoding: |
@@ -173,9 +173,9 @@ interactions: | |||
173 | X-Permitted-Cross-Domain-Policies: | 173 | X-Permitted-Cross-Domain-Policies: |
174 | - none | 174 | - none |
175 | X-Request-Id: | 175 | X-Request-Id: |
176 | - 9c30798d-28a8-484a-bfe7-f509912feaeb | 176 | - 8c89f845-3655-417d-9c0a-58be4a7a1cb3 |
177 | X-Runtime: | 177 | X-Runtime: |
178 | - '0.007718' | 178 | - '0.007446' |
179 | X-XSS-Protection: | 179 | X-XSS-Protection: |
180 | - 1; mode=block | 180 | - 1; mode=block |
181 | status: | 181 | status: |
@@ -202,14 +202,14 @@ interactions: | |||
202 | uri: http://localhost:3000/api/v1/push/subscription | 202 | uri: http://localhost:3000/api/v1/push/subscription |
203 | response: | 203 | response: |
204 | body: | 204 | body: |
205 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' | 205 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' |
206 | headers: | 206 | headers: |
207 | Cache-Control: | 207 | Cache-Control: |
208 | - no-store | 208 | - no-store |
209 | Content-Security-Policy: | 209 | Content-Security-Policy: |
210 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 210 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
211 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 211 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
212 | style-src ''self'' http://localhost:3000 ''nonce-Y9nP2Gx+x6CXHMripnMdsg==''; | 212 | style-src ''self'' http://localhost:3000 ''nonce-wuH2f2SAR/XhlzL4Tc+jtg==''; |
213 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 213 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
214 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 214 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
215 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 215 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -219,7 +219,7 @@ interactions: | |||
219 | Content-Type: | 219 | Content-Type: |
220 | - application/json; charset=utf-8 | 220 | - application/json; charset=utf-8 |
221 | ETag: | 221 | ETag: |
222 | - W/"4ef26ec5cc06120fec57395a4bc6e020" | 222 | - W/"c7c21bc52b1e9c3ec8fabd6d70c84a85" |
223 | Referrer-Policy: | 223 | Referrer-Policy: |
224 | - strict-origin-when-cross-origin | 224 | - strict-origin-when-cross-origin |
225 | Transfer-Encoding: | 225 | Transfer-Encoding: |
@@ -235,9 +235,9 @@ interactions: | |||
235 | X-Permitted-Cross-Domain-Policies: | 235 | X-Permitted-Cross-Domain-Policies: |
236 | - none | 236 | - none |
237 | X-Request-Id: | 237 | X-Request-Id: |
238 | - d83f3501-3d3a-440d-96be-520db4193fe5 | 238 | - f5c8acd5-e2cf-468f-9cc5-7ae564fb16d8 |
239 | X-Runtime: | 239 | X-Runtime: |
240 | - '0.010944' | 240 | - '0.011918' |
241 | X-XSS-Protection: | 241 | X-XSS-Protection: |
242 | - 1; mode=block | 242 | - 1; mode=block |
243 | status: | 243 | status: |
@@ -260,14 +260,14 @@ interactions: | |||
260 | uri: http://localhost:3000/api/v1/push/subscription | 260 | uri: http://localhost:3000/api/v1/push/subscription |
261 | response: | 261 | response: |
262 | body: | 262 | body: |
263 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' | 263 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' |
264 | headers: | 264 | headers: |
265 | Cache-Control: | 265 | Cache-Control: |
266 | - no-store | 266 | - no-store |
267 | Content-Security-Policy: | 267 | Content-Security-Policy: |
268 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 268 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
269 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 269 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
270 | style-src ''self'' http://localhost:3000 ''nonce-kZO2aTGvthBaeyN9bjlnkg==''; | 270 | style-src ''self'' http://localhost:3000 ''nonce-iKzPZ/DNgQoI+6RHrpu0lw==''; |
271 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 271 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
272 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 272 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
273 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 273 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -277,7 +277,7 @@ interactions: | |||
277 | Content-Type: | 277 | Content-Type: |
278 | - application/json; charset=utf-8 | 278 | - application/json; charset=utf-8 |
279 | ETag: | 279 | ETag: |
280 | - W/"4ef26ec5cc06120fec57395a4bc6e020" | 280 | - W/"c7c21bc52b1e9c3ec8fabd6d70c84a85" |
281 | Referrer-Policy: | 281 | Referrer-Policy: |
282 | - strict-origin-when-cross-origin | 282 | - strict-origin-when-cross-origin |
283 | Transfer-Encoding: | 283 | Transfer-Encoding: |
@@ -293,9 +293,9 @@ interactions: | |||
293 | X-Permitted-Cross-Domain-Policies: | 293 | X-Permitted-Cross-Domain-Policies: |
294 | - none | 294 | - none |
295 | X-Request-Id: | 295 | X-Request-Id: |
296 | - 402edc1d-ea04-43e6-8fce-da2fdcfd7724 | 296 | - 755cd060-6658-4ab5-b7e5-a12d117b0492 |
297 | X-Runtime: | 297 | X-Runtime: |
298 | - '0.007620' | 298 | - '0.008324' |
299 | X-XSS-Protection: | 299 | X-XSS-Protection: |
300 | - 1; mode=block | 300 | - 1; mode=block |
301 | status: | 301 | status: |
@@ -318,14 +318,14 @@ interactions: | |||
318 | uri: http://localhost:3000/api/v1/push/subscription | 318 | uri: http://localhost:3000/api/v1/push/subscription |
319 | response: | 319 | response: |
320 | body: | 320 | body: |
321 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' | 321 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' |
322 | headers: | 322 | headers: |
323 | Cache-Control: | 323 | Cache-Control: |
324 | - no-store | 324 | - no-store |
325 | Content-Security-Policy: | 325 | Content-Security-Policy: |
326 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 326 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
327 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 327 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
328 | style-src ''self'' http://localhost:3000 ''nonce-ZbZoP5IDoi6z0tP0HafwHg==''; | 328 | style-src ''self'' http://localhost:3000 ''nonce-8+x5PjYCLsB9q7zL+pyd0w==''; |
329 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 329 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
330 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 330 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
331 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 331 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -335,7 +335,7 @@ interactions: | |||
335 | Content-Type: | 335 | Content-Type: |
336 | - application/json; charset=utf-8 | 336 | - application/json; charset=utf-8 |
337 | ETag: | 337 | ETag: |
338 | - W/"4ef26ec5cc06120fec57395a4bc6e020" | 338 | - W/"c7c21bc52b1e9c3ec8fabd6d70c84a85" |
339 | Referrer-Policy: | 339 | Referrer-Policy: |
340 | - strict-origin-when-cross-origin | 340 | - strict-origin-when-cross-origin |
341 | Transfer-Encoding: | 341 | Transfer-Encoding: |
@@ -351,9 +351,9 @@ interactions: | |||
351 | X-Permitted-Cross-Domain-Policies: | 351 | X-Permitted-Cross-Domain-Policies: |
352 | - none | 352 | - none |
353 | X-Request-Id: | 353 | X-Request-Id: |
354 | - 4e29f655-9397-41b1-9cbb-0df0e30471c2 | 354 | - c2576e21-2a66-455f-b281-c82f3ae81d6c |
355 | X-Runtime: | 355 | X-Runtime: |
356 | - '0.006763' | 356 | - '0.006889' |
357 | X-XSS-Protection: | 357 | X-XSS-Protection: |
358 | - 1; mode=block | 358 | - 1; mode=block |
359 | status: | 359 | status: |