From 0159bd7caecc9c3311f5f18869321b564f05ac89 Mon Sep 17 00:00:00 2001 From: halcy Date: Thu, 1 Dec 2022 22:07:42 +0200 Subject: commit new set of tests --- tests/cassettes/test_push_update.yaml | 64 +++++++++++++++++------------------ 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'tests/cassettes/test_push_update.yaml') diff --git a/tests/cassettes/test_push_update.yaml b/tests/cassettes/test_push_update.yaml index 03abed3..aadf799 100644 --- a/tests/cassettes/test_push_update.yaml +++ b/tests/cassettes/test_push_update.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BGBA2KKc4lK5ELrhppxm7mrBCUtiJU1GnWhN8EQmss8Mgr77526U%2FsTpQADbeB%2BsVD42e9FG8AHNiUKOE5pQB8Y%3D&subscription%5Bkeys%5D%5Bauth%5D=VGLsZxvmcJJuFTX13BonMQ%3D%3D&policy=all&data%5Balerts%5D%5Bfollow%5D=0&data%5Balerts%5D%5Bfavourite%5D=0&data%5Balerts%5D%5Breblog%5D=0&data%5Balerts%5D%5Bmention%5D=0 + body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BNkc%2BSVfOgfOs8I1WS%2F0KxhbMkLhhLyJR2xrOiyv6JAkHH37dkPfI6Y%2BfyH8NAm4SpSEV3GXVg906gG1eZD%2FlBg%3D&subscription%5Bkeys%5D%5Bauth%5D=sZSxs7Q%2B6ogLvT4lLNr87Q%3D%3D&policy=all&data%5Balerts%5D%5Bfollow%5D=0&data%5Balerts%5D%5Bfavourite%5D=0&data%5Balerts%5D%5Breblog%5D=0&data%5Balerts%5D%5Bmention%5D=0 headers: Accept: - '*/*' @@ -11,7 +11,7 @@ interactions: Connection: - keep-alive Content-Length: - - '383' + - '389' Content-Type: - application/x-www-form-urlencoded User-Agent: @@ -20,14 +20,14 @@ interactions: uri: http://localhost:3000/api/v1/push/subscription response: body: - string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' + string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BHbaZoDpTM1DFjAELelcIqWMMCXLKayvxGl7bPWlqmggF2tb8t6kiEj8qKrZE1PfF4RxaT46AilrYUDIWgMFmz0="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-pauSTkvSUbmd656Gw+YE3w==''; + style-src ''self'' http://localhost:3000 ''nonce-wOlLklZqBIjLBjZCbSBZ8w==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -37,7 +37,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a527f07100953388c1e5a0153ea5210c" + - W/"79c9a440144b6e85055cc055ba6dae34" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -53,9 +53,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 2ea47b1a-a49b-419f-863f-0793d1ce7b14 + - 90ac8774-a52b-4a8a-b535-28937ecaf497 X-Runtime: - - '0.014389' + - '0.015794' X-XSS-Protection: - 1; mode=block status: @@ -82,14 +82,14 @@ interactions: uri: http://localhost:3000/api/v1/push/subscription response: body: - string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":true,"reblog":true,"follow":true,"favourite":true},"server_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' + string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":true,"reblog":true,"follow":true,"favourite":true},"server_key":"BHbaZoDpTM1DFjAELelcIqWMMCXLKayvxGl7bPWlqmggF2tb8t6kiEj8qKrZE1PfF4RxaT46AilrYUDIWgMFmz0="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-e+UWW1Y4TeOdg5rlxa0hnA==''; + style-src ''self'' http://localhost:3000 ''nonce-yrFhSBuc+73SMGxJnt932w==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -99,7 +99,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"d553a2d39a3941ff0f32a6297a79d219" + - W/"bb4e306d8bc368dd14dc9df1e763ec87" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -115,9 +115,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 109dd26c-0968-4695-946b-fe52ec1fab1e + - 556b394a-d02f-4ce7-86ce-cd328207ce5f X-Runtime: - - '0.011000' + - '0.012790' X-XSS-Protection: - 1; mode=block status: @@ -140,14 +140,14 @@ interactions: uri: http://localhost:3000/api/v1/push/subscription response: body: - string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":true,"reblog":true,"follow":true,"favourite":true},"server_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' + string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":true,"reblog":true,"follow":true,"favourite":true},"server_key":"BHbaZoDpTM1DFjAELelcIqWMMCXLKayvxGl7bPWlqmggF2tb8t6kiEj8qKrZE1PfF4RxaT46AilrYUDIWgMFmz0="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-kJEGhwgn+LfR/aXSrIjacg==''; + style-src ''self'' http://localhost:3000 ''nonce-ajlVQlv+qj1+RQLpqux33Q==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -157,7 +157,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"d553a2d39a3941ff0f32a6297a79d219" + - W/"bb4e306d8bc368dd14dc9df1e763ec87" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -173,9 +173,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - bc7d2af0-f270-47a7-b3af-8c71044e63e9 + - 6b9bc171-1fb1-4363-972a-d8204446a1f9 X-Runtime: - - '0.009102' + - '0.009346' X-XSS-Protection: - 1; mode=block status: @@ -202,14 +202,14 @@ interactions: uri: http://localhost:3000/api/v1/push/subscription response: body: - string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' + string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BHbaZoDpTM1DFjAELelcIqWMMCXLKayvxGl7bPWlqmggF2tb8t6kiEj8qKrZE1PfF4RxaT46AilrYUDIWgMFmz0="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-s0UQGzEqZgJVynaznGw1cg==''; + style-src ''self'' http://localhost:3000 ''nonce-6LSHzNa03WiEDcyWWrRkRA==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -219,7 +219,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a527f07100953388c1e5a0153ea5210c" + - W/"79c9a440144b6e85055cc055ba6dae34" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -235,9 +235,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 7d0e2e9f-f42a-4973-8352-5293c5b68212 + - 22c62ea3-cd1e-4793-9653-8ccd6fdd6263 X-Runtime: - - '0.013032' + - '0.021961' X-XSS-Protection: - 1; mode=block status: @@ -260,14 +260,14 @@ interactions: uri: http://localhost:3000/api/v1/push/subscription response: body: - string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' + string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BHbaZoDpTM1DFjAELelcIqWMMCXLKayvxGl7bPWlqmggF2tb8t6kiEj8qKrZE1PfF4RxaT46AilrYUDIWgMFmz0="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-wXTj1AE6x8fXR+bNf6iExA==''; + style-src ''self'' http://localhost:3000 ''nonce-IQL1mBlIcOHnm1lXOHTJkA==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -277,7 +277,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a527f07100953388c1e5a0153ea5210c" + - W/"79c9a440144b6e85055cc055ba6dae34" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -293,9 +293,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 01124467-0b62-4f04-a469-fd9c181420e5 + - e478fbb2-b9a6-4fd0-af7b-ae394fd5b357 X-Runtime: - - '0.008655' + - '0.008695' X-XSS-Protection: - 1; mode=block status: @@ -318,14 +318,14 @@ interactions: uri: http://localhost:3000/api/v1/push/subscription response: body: - string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BCzv2IBoCn5an4RTxaTcxEUb14hWbXsS6yVkraxqbFAOwD_nR0l5I4fS7kFzJYmNnYij873sO8zDjJ_m6OAFqEo="}' + string: '{"id":2,"endpoint":"https://example.com","alerts":{"mention":false,"reblog":false,"follow":false,"favourite":false},"server_key":"BHbaZoDpTM1DFjAELelcIqWMMCXLKayvxGl7bPWlqmggF2tb8t6kiEj8qKrZE1PfF4RxaT46AilrYUDIWgMFmz0="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-yIP8TqlfHO22EnXg51nTKA==''; + style-src ''self'' http://localhost:3000 ''nonce-4emYSpsbmxw776ggfGT57w==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -335,7 +335,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"a527f07100953388c1e5a0153ea5210c" + - W/"79c9a440144b6e85055cc055ba6dae34" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -351,9 +351,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - fad6c298-c172-4361-bc12-bc566dcc157e + - d4e34dc4-3c6a-4a11-adb1-a8eec0242cd2 X-Runtime: - - '0.006980' + - '0.007976' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3