From 437f68c29a18303de3c75962021bbe030b2cf85c Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Fri, 11 Oct 2019 23:59:24 +0200 Subject: Update tests for 3.0.1 and fix regressions --- tests/cassettes/test_push_delete.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/cassettes/test_push_delete.yaml') diff --git a/tests/cassettes/test_push_delete.yaml b/tests/cassettes/test_push_delete.yaml index 25c939d..fc056ce 100644 --- a/tests/cassettes/test_push_delete.yaml +++ b/tests/cassettes/test_push_delete.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BD5VwuhLRvbzTNrg6%2FHHS4pKa%2F3Cu7NBjScG0T87aIp72nLzrwXBf21yb7AzTeVTMyu7V5Z9shpF%2FxuHSMe3yps%3D&subscription%5Bkeys%5D%5Bauth%5D=9zH0t4%2FsmW0pxyoGhiZrMQ%3D%3D + body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BE5DCzM%2FN5hRDec%2F%2BsHLm7xTpOvwqkj1Dx0F9Sz5DFaf2BpmcwFZzYyy1GlKyfznQKkL%2FsElV6yqdxW7CE8O56Y%3D&subscription%5Bkeys%5D%5Bauth%5D=p4SQFog4j2x12srlDe3Q3g%3D%3D headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] @@ -12,7 +12,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/push/subscription response: - body: {string: '{"id":15,"endpoint":"https://example.com","alerts":{},"server_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'} + body: {string: '{"id":45,"endpoint":"https://example.com","alerts":{},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -23,8 +23,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [af76bd5d-1afc-4d85-957a-8249951be5d7] - X-Runtime: ['0.028201'] + X-Request-Id: [4fd1bf08-e449-44e7-b1c8-c247c17ca3dc] + X-Runtime: ['0.030309'] X-XSS-Protection: [1; mode=block] content-length: ['158'] status: {code: 200, message: OK} @@ -51,8 +51,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [0898d9b5-c757-4dca-945a-9c4f4d7728e5] - X-Runtime: ['0.024530'] + X-Request-Id: [8808305b-e462-4586-bcdc-0cadad478708] + X-Runtime: ['0.037431'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -78,8 +78,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [572850e5-b1c0-4ed7-ba8f-59d083b26edd] - X-Runtime: ['0.014208'] + X-Request-Id: [7acba829-14de-466f-95b6-12a641ffdee9] + X-Runtime: ['0.015415'] X-XSS-Protection: [1; mode=block] content-length: ['28'] status: {code: 404, message: Not Found} -- cgit v1.2.3