From 052b7f7cd319bd39f5c9db1b0322e9e4445a123e Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 22 Jun 2019 15:28:27 +0200 Subject: Test fixups pre-2.9.1 --- tests/cassettes/test_filter_update.yaml | 37 +++++++++++++++------------------ 1 file changed, 17 insertions(+), 20 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 e2fe4b0..b9538f7 100644 --- a/tests/cassettes/test_filter_update.yaml +++ b/tests/cassettes/test_filter_update.yaml @@ -12,11 +12,10 @@ interactions: method: POST uri: http://localhost:3000/api/v1/filters response: - body: {string: '{"id":"21","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: ['max-age=0, private, must-revalidate'] + Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"616b6a636748282f750aca9e2fbcbe21"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -24,10 +23,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [03b6ba4b-c341-457b-a0ef-f8808329489c] - X-Runtime: ['0.020179'] + X-Request-Id: [bd8dd539-c0a0-4e80-b882-a97b7a4fe8f1] + X-Runtime: ['0.034055'] X-XSS-Protection: [1; mode=block] - content-length: ['113'] + content-length: ['112'] status: {code: 200, message: OK} - request: body: phrase=japanimation @@ -40,13 +39,12 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: PUT - uri: http://localhost:3000/api/v1/filters/21 + uri: http://localhost:3000/api/v1/filters/3 response: - body: {string: '{"id":"21","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: ['max-age=0, private, must-revalidate'] + Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"3f41998f154881d6411e0b12151f9b0c"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -54,10 +52,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [9c5d627e-1a5d-40af-989c-6f2b835e1677] - X-Runtime: ['0.020742'] + X-Request-Id: [8f11357b-3bd5-46e7-8a5b-578299e3d426] + X-Runtime: ['0.086907'] X-XSS-Protection: [1; mode=block] - content-length: ['120'] + content-length: ['119'] status: {code: 200, message: OK} - request: body: null @@ -68,13 +66,12 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/filters/21 + uri: http://localhost:3000/api/v1/filters/3 response: - body: {string: '{"id":"21","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: ['max-age=0, private, must-revalidate'] + Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"3f41998f154881d6411e0b12151f9b0c"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -82,9 +79,9 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [0ba85b95-9017-4db9-801f-a7eac4a889c9] - X-Runtime: ['0.015210'] + X-Request-Id: [3758c54b-454e-47a6-be44-ca4b5b6ce94a] + X-Runtime: ['0.031811'] X-XSS-Protection: [1; mode=block] - content-length: ['120'] + content-length: ['119'] status: {code: 200, message: OK} version: 1 -- cgit v1.2.3