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_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 8519d00..adb8504 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":"60","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"123","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: [855e6d63-e244-4b89-9193-5568a98db496] - X-Runtime: ['0.028946'] + X-Request-Id: [db59c1b5-d9fb-4be8-a3c0-bda573ceb560] + X-Runtime: ['0.040104'] X-XSS-Protection: [1; mode=block] - content-length: ['113'] + content-length: ['114'] 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/60 + uri: http://localhost:3000/api/v1/filters/123 response: - body: {string: '{"id":"60","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"123","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: [b439f18f-8c5d-44e2-afc6-432d3a19e5f9] - X-Runtime: ['0.023707'] + X-Request-Id: [9792e455-2ede-4e94-86c0-b3a7ca43e3ac] + X-Runtime: ['0.038332'] X-XSS-Protection: [1; mode=block] - content-length: ['120'] + content-length: ['121'] 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/60 + uri: http://localhost:3000/api/v1/filters/123 response: - body: {string: '{"id":"60","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"123","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: [0ee71619-eb0a-4a84-a947-464b3a0f157a] - X-Runtime: ['0.023123'] + X-Request-Id: [0c0d83ff-963d-4f05-a0d5-f3a16ae82a39] + X-Runtime: ['0.020907'] X-XSS-Protection: [1; mode=block] - content-length: ['120'] + content-length: ['121'] status: {code: 200, message: OK} version: 1 -- cgit v1.2.3