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 8929b88..ae63d12 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=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 | 3 | body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BA%2BI7U8ZfOqZu2UpiX6H34%2F50Kx0r40Oo5ZrKR7Oho19ahcww%2FproVZHu9LQvauwNisPMKXHTZQHgglz51ysTss%3D&subscription%5Bkeys%5D%5Bauth%5D=noSOjb%2FMZ6ViOAAUUPrg4Q%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":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' | 23 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BIX7IY8wYrdPf5wfG59B5B4CBbpQWmOBr_SI9zEsCDfMGDx8KmPuu-3WP7b-amaekv2NZj3ZSNst9OaqoxXvC1s="}' |
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-WbxenrOVrir/tBGwXifiaA==''; | 30 | style-src ''self'' http://localhost:3000 ''nonce-C2+xepY+TzuPoC5ZV4WgDg==''; |
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/"c7c21bc52b1e9c3ec8fabd6d70c84a85" | 40 | - W/"fb3f3c19ad4489eea9490dbb112eaec7" |
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 | - 960e47fd-23f9-4e7b-a79b-74139c0708eb | 56 | - d3224b57-725a-4a07-baee-451ed7d630e0 |
57 | X-Runtime: | 57 | X-Runtime: |
58 | - '0.014556' | 58 | - '0.013611' |
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":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' | 85 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":true,"reblog":true,"follow":true,"favourite":true},"server_key":"BIX7IY8wYrdPf5wfG59B5B4CBbpQWmOBr_SI9zEsCDfMGDx8KmPuu-3WP7b-amaekv2NZj3ZSNst9OaqoxXvC1s="}' |
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-qUAxPxHn6te77PLdA4KI0g==''; | 92 | style-src ''self'' http://localhost:3000 ''nonce-P7uFOgUppk/OQr9N1XBMKw==''; |
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/"10c614045aa34357d3beaf175fe69bcc" | 102 | - W/"4aba637b3f926712cb304e61f9329f85" |
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 | - daaa3c29-82ab-4a0a-94a4-79f0693c3d82 | 118 | - 68a04685-d1c1-4b04-9824-7d5431c80c61 |
119 | X-Runtime: | 119 | X-Runtime: |
120 | - '0.010848' | 120 | - '0.010486' |
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":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' | 143 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":true,"reblog":true,"follow":true,"favourite":true},"server_key":"BIX7IY8wYrdPf5wfG59B5B4CBbpQWmOBr_SI9zEsCDfMGDx8KmPuu-3WP7b-amaekv2NZj3ZSNst9OaqoxXvC1s="}' |
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-rxECX1Kr7fjbgyIxVfZVqw==''; | 150 | style-src ''self'' http://localhost:3000 ''nonce-KCSQW9Ius6TBaVJg7GTqfw==''; |
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/"10c614045aa34357d3beaf175fe69bcc" | 160 | - W/"4aba637b3f926712cb304e61f9329f85" |
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 | - 8c89f845-3655-417d-9c0a-58be4a7a1cb3 | 176 | - 83bedc8c-c817-40a3-9b40-403cb47bb3e1 |
177 | X-Runtime: | 177 | X-Runtime: |
178 | - '0.007446' | 178 | - '0.007784' |
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":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' | 205 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BIX7IY8wYrdPf5wfG59B5B4CBbpQWmOBr_SI9zEsCDfMGDx8KmPuu-3WP7b-amaekv2NZj3ZSNst9OaqoxXvC1s="}' |
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-wuH2f2SAR/XhlzL4Tc+jtg==''; | 212 | style-src ''self'' http://localhost:3000 ''nonce-ewywANVddKaJFno9xyuzFg==''; |
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/"c7c21bc52b1e9c3ec8fabd6d70c84a85" | 222 | - W/"fb3f3c19ad4489eea9490dbb112eaec7" |
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 | - f5c8acd5-e2cf-468f-9cc5-7ae564fb16d8 | 238 | - 52d60226-2590-473e-9c78-e6d972af8659 |
239 | X-Runtime: | 239 | X-Runtime: |
240 | - '0.011918' | 240 | - '0.010261' |
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":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' | 263 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BIX7IY8wYrdPf5wfG59B5B4CBbpQWmOBr_SI9zEsCDfMGDx8KmPuu-3WP7b-amaekv2NZj3ZSNst9OaqoxXvC1s="}' |
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-iKzPZ/DNgQoI+6RHrpu0lw==''; | 270 | style-src ''self'' http://localhost:3000 ''nonce-hpoueSla0DUlWZRBE+TRSg==''; |
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/"c7c21bc52b1e9c3ec8fabd6d70c84a85" | 280 | - W/"fb3f3c19ad4489eea9490dbb112eaec7" |
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 | - 755cd060-6658-4ab5-b7e5-a12d117b0492 | 296 | - 65845282-e314-4f44-bcd6-c4e6a5279e89 |
297 | X-Runtime: | 297 | X-Runtime: |
298 | - '0.008324' | 298 | - '0.007544' |
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":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' | 321 | string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BIX7IY8wYrdPf5wfG59B5B4CBbpQWmOBr_SI9zEsCDfMGDx8KmPuu-3WP7b-amaekv2NZj3ZSNst9OaqoxXvC1s="}' |
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-8+x5PjYCLsB9q7zL+pyd0w==''; | 328 | style-src ''self'' http://localhost:3000 ''nonce-7Zz9KdnwAy6UMAAFZGp4+w==''; |
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/"c7c21bc52b1e9c3ec8fabd6d70c84a85" | 338 | - W/"fb3f3c19ad4489eea9490dbb112eaec7" |
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 | - c2576e21-2a66-455f-b281-c82f3ae81d6c | 354 | - 90465785-4154-4eef-82e9-364d1a367c1c |
355 | X-Runtime: | 355 | X-Runtime: |
356 | - '0.006889' | 356 | - '0.006412' |
357 | X-XSS-Protection: | 357 | X-XSS-Protection: |
358 | - 1; mode=block | 358 | - 1; mode=block |
359 | status: | 359 | status: |