From 4f90728a4a8c98f3ee7e9aab5a05f93c152a375d Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 22 Feb 2020 20:31:33 +0100 Subject: Fix tests for 3.1.1 --- tests/cassettes/test_push_delete.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 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 87588be..dab6881 100644 --- a/tests/cassettes/test_push_delete.yaml +++ b/tests/cassettes/test_push_delete.yaml @@ -1,18 +1,18 @@ interactions: - request: - body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BGKxXoHbg%2BNslvdwCnXIxRHQR21TmbI3ZHOqOIZCN6TPpP6AZBCOcy6lU9xyXU1b69VrjNHUSMhYWDVBHl8ZJIw%3D&subscription%5Bkeys%5D%5Bauth%5D=3BZJ%2B3r3eoJHsxncn8WUYQ%3D%3D + body: subscription%5Bendpoint%5D=https%3A%2F%2Fexample.com&subscription%5Bkeys%5D%5Bp256dh%5D=BPJLfW03%2BNP04NbhC8zJs5xd30bDL%2B%2B0AghNrF1KcYN5uuznaJz%2FY%2B4s%2Bhe2e4FOiA80RQtYDUvJadQ6J3vvhyc%3D&subscription%5Bkeys%5D%5Bauth%5D=7J%2BeGTcOf7YRVA1Tbk06hg%3D%3D headers: Accept: ['*/*'] Accept-Encoding: ['gzip, deflate'] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Connection: [keep-alive] - Content-Length: ['244'] + Content-Length: ['254'] Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST uri: http://localhost:3000/api/v1/push/subscription response: - body: {string: '{"id":48,"endpoint":"https://example.com","alerts":{},"server_key":"BAWt221FllE4MOQ_TNqrMrc32IW2XhCRR0WTPI0Ne0TzoNm6UeUdEDDs5FAn8nGtW8eiJyCmSMoJnUEFi1Cj1Rk="}'} + body: {string: '{"id":3,"endpoint":"https://example.com","alerts":{},"server_key":"BPSW9N0oBHCeTlN6VgEPwlf36QQzuU6XtxguTJSM9xyW9kxnN2I_lzcHsk3ShJMRa0Na7t2kiE9UyJWrtQOsTJo="}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -23,10 +23,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [a676fe56-130d-42e0-bddd-5d4ea8146197] - X-Runtime: ['0.024818'] + X-Request-Id: [182697a5-92aa-431d-9bd5-8e17a24c6ffc] + X-Runtime: ['0.039294'] X-XSS-Protection: [1; mode=block] - content-length: ['158'] + content-length: ['157'] status: {code: 200, message: OK} - request: body: null @@ -51,8 +51,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [251d35f6-96be-4e90-b776-14f8953abdc2] - X-Runtime: ['0.019851'] + X-Request-Id: [740dd74c-cf1d-47db-9da8-1572eadfd546] + X-Runtime: ['0.062684'] 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: [e1b6b6be-10cf-4dfd-b3e9-a7ede9061c85] - X-Runtime: ['0.015498'] + X-Request-Id: [77cb9346-5db6-4f77-abd5-7781d238e6d5] + X-Runtime: ['0.032786'] X-XSS-Protection: [1; mode=block] content-length: ['28'] status: {code: 404, message: Not Found} -- cgit v1.2.3