From b1e1ec7bdc9e84ecd31626f1a4fbf645e84d0bb2 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 15:33:10 +0200 Subject: Add support for timed mutes, fix tests to actually pass with new setup --- tests/cassettes/test_push_set.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'tests/cassettes/test_push_set.yaml') 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 @@ interactions: - request: - 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 + 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 headers: Accept: - '*/*' @@ -11,7 +11,7 @@ interactions: Connection: - keep-alive Content-Length: - - '248' + - '244' 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":1,"endpoint":"https://example.com","alerts":{},"server_key":"BFsPJBvWr6iQB4n0QAxBbqg5_MLh-Rm1we2OefcfRUaqTrZrB6k0E9FdzlBWD_xp8KAJrsWetwf2-l11cvSQnDU="}' + string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' 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-0L6vzkLsm8vr0Amb2GskYw==''; + style-src ''self'' http://localhost:3000 ''nonce-8YWMtj/i/ws5UqZCh8mBcg==''; 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/"84d1ccad0cee8aa71855bc8ba7c81e0d" + - W/"af702012e6beb01ed6e0b38a78cd9d2e" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -53,9 +53,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 788002f3-4047-48cc-a58b-7993a9a3234b + - a1299347-ee67-4d01-8e16-6f1e756a7c72 X-Runtime: - - '0.020483' + - '0.029314' X-XSS-Protection: - 1; mode=block status: @@ -78,14 +78,14 @@ interactions: uri: http://localhost:3000/api/v1/push/subscription response: body: - string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BFsPJBvWr6iQB4n0QAxBbqg5_MLh-Rm1we2OefcfRUaqTrZrB6k0E9FdzlBWD_xp8KAJrsWetwf2-l11cvSQnDU="}' + string: '{"id":1,"endpoint":"https://example.com","alerts":{},"server_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' 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-To8ysnGAzZSQ9J16jqmZvQ==''; + style-src ''self'' http://localhost:3000 ''nonce-JVsYBXQ/BjSGaflRZoRuCg==''; 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 @@ -95,7 +95,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"84d1ccad0cee8aa71855bc8ba7c81e0d" + - W/"af702012e6beb01ed6e0b38a78cd9d2e" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -111,9 +111,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - 43ac3987-277d-441d-87b1-3eb02e769e3d + - 5ceaab93-01e1-4f7e-973a-5a6e4b9e0eef X-Runtime: - - '0.007561' + - '0.008223' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3