From e3936649745a627fa2c31fc7b8602793b7d6027b Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 27 Apr 2019 21:04:06 +0200 Subject: Test fixups and small 2.8 fixes Pagination backwards is broken presently. --- tests/cassettes/test_filter_update.yaml | 34 ++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 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 a36fc11..e2fe4b0 100644 --- a/tests/cassettes/test_filter_update.yaml +++ b/tests/cassettes/test_filter_update.yaml @@ -12,11 +12,11 @@ interactions: method: POST uri: http://localhost:3000/api/v1/filters response: - body: {string: '{"id":39,"phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"21","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"066db6d7e5614877484c462e5fe9dab9"] + ETag: [W/"616b6a636748282f750aca9e2fbcbe21"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -24,10 +24,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [afe42d8c-af56-4a86-9192-3fdf0316ca63] - X-Runtime: ['0.033386'] + X-Request-Id: [03b6ba4b-c341-457b-a0ef-f8808329489c] + X-Runtime: ['0.020179'] X-XSS-Protection: [1; mode=block] - content-length: ['111'] + content-length: ['113'] status: {code: 200, message: OK} - request: body: phrase=japanimation @@ -40,13 +40,13 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: PUT - uri: http://localhost:3000/api/v1/filters/39 + uri: http://localhost:3000/api/v1/filters/21 response: - body: {string: '{"id":39,"phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"21","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"4457ad39bb4928f9baad4ab6d66f016d"] + ETag: [W/"3f41998f154881d6411e0b12151f9b0c"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -54,10 +54,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [17c533db-be0e-4b63-967e-db10aa864e1b] - X-Runtime: ['0.033113'] + X-Request-Id: [9c5d627e-1a5d-40af-989c-6f2b835e1677] + X-Runtime: ['0.020742'] X-XSS-Protection: [1; mode=block] - content-length: ['118'] + content-length: ['120'] status: {code: 200, message: OK} - request: body: null @@ -68,13 +68,13 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/filters/39 + uri: http://localhost:3000/api/v1/filters/21 response: - body: {string: '{"id":39,"phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"21","phrase":"japanimation","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"4457ad39bb4928f9baad4ab6d66f016d"] + ETag: [W/"3f41998f154881d6411e0b12151f9b0c"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -82,9 +82,9 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [f3286d0e-d6be-45ac-b159-0158785784e8] - X-Runtime: ['0.020397'] + X-Request-Id: [0ba85b95-9017-4db9-801f-a7eac4a889c9] + X-Runtime: ['0.015210'] X-XSS-Protection: [1; mode=block] - content-length: ['118'] + content-length: ['120'] status: {code: 200, message: OK} version: 1 -- cgit v1.2.3