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_filter_update.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'tests/cassettes/test_filter_update.yaml') diff --git a/tests/cassettes/test_filter_update.yaml b/tests/cassettes/test_filter_update.yaml index 09218ab..86e9842 100644 --- a/tests/cassettes/test_filter_update.yaml +++ b/tests/cassettes/test_filter_update.yaml @@ -12,7 +12,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/filters response: - body: {string: '{"id":"132","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"3","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} 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: [cc317f82-ca04-459c-9fc3-e77d4eb5418b] - X-Runtime: ['0.025617'] + X-Request-Id: [220c49fb-ac0c-488e-a28c-2c6e929b28b4] + X-Runtime: ['0.036281'] X-XSS-Protection: [1; mode=block] - content-length: ['114'] + content-length: ['112'] status: {code: 200, message: OK} - request: body: phrase=japanimation @@ -39,9 +39,9 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: PUT - uri: http://localhost:3000/api/v1/filters/132 + uri: http://localhost:3000/api/v1/filters/3 response: - body: {string: '{"id":"132","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"3","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -52,10 +52,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [3ada522d-a0c6-4a6d-bcb7-7fb9d62b547a] - X-Runtime: ['0.027720'] + X-Request-Id: [db1bb32d-5f6d-41a2-9b61-5197030c32b0] + X-Runtime: ['0.033542'] X-XSS-Protection: [1; mode=block] - content-length: ['121'] + content-length: ['119'] status: {code: 200, message: OK} - request: body: null @@ -66,9 +66,9 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/filters/132 + uri: http://localhost:3000/api/v1/filters/3 response: - body: {string: '{"id":"132","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"3","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -79,9 +79,9 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [59f34c3f-c8c3-49ef-9d4b-7dae04f73911] - X-Runtime: ['0.018530'] + X-Request-Id: [3123dbc3-1ecb-47c7-8934-13b14fcad219] + X-Runtime: ['0.042994'] X-XSS-Protection: [1; mode=block] - content-length: ['121'] + content-length: ['119'] status: {code: 200, message: OK} version: 1 -- cgit v1.2.3