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_create.yaml | 64 ++++++++++++++++----------------- 1 file changed, 32 insertions(+), 32 deletions(-) (limited to 'tests/cassettes/test_filter_create.yaml') diff --git a/tests/cassettes/test_filter_create.yaml b/tests/cassettes/test_filter_create.yaml index 7ad6494..5056a62 100644 --- a/tests/cassettes/test_filter_create.yaml +++ b/tests/cassettes/test_filter_create.yaml @@ -12,7 +12,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/filters response: - body: {string: '{"id":"130","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"1","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: [c450628b-c12a-4920-9b02-a5149db51938] - X-Runtime: ['0.045761'] + X-Request-Id: [89b1bf76-6ac1-4de0-aac5-d6c7ac174117] + X-Runtime: ['0.132145'] X-XSS-Protection: [1; mode=block] - content-length: ['114'] + content-length: ['112'] status: {code: 200, message: OK} - request: body: null @@ -39,7 +39,7 @@ interactions: method: GET uri: http://localhost:3000/api/v1/filters response: - body: {string: '[{"id":"130","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}]'} + body: {string: '[{"id":"1","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] @@ -50,10 +50,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [f86654f3-401f-4055-91a8-8f439b81c905] - X-Runtime: ['0.031694'] + X-Request-Id: [6ace9d3d-fe41-4d05-af2a-b948ba86b415] + X-Runtime: ['0.059018'] X-XSS-Protection: [1; mode=block] - content-length: ['116'] + content-length: ['114'] status: {code: 200, message: OK} - request: body: null @@ -64,9 +64,9 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/filters/130 + uri: http://localhost:3000/api/v1/filters/1 response: - body: {string: '{"id":"130","phrase":"anime","context":["notifications"],"whole_word":true,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"1","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] @@ -77,10 +77,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [0909e07e-6f76-48bf-8775-38b5e4ffcb29] - X-Runtime: ['0.031193'] + X-Request-Id: [e730c835-1bd9-4e11-bd76-8ad69da587dd] + X-Runtime: ['0.068597'] X-XSS-Protection: [1; mode=block] - content-length: ['114'] + content-length: ['112'] status: {code: 200, message: OK} - request: body: null @@ -92,7 +92,7 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/filters/130 + uri: http://localhost:3000/api/v1/filters/1 response: body: {string: '{}'} headers: @@ -105,8 +105,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [ebdb344b-df73-4b0a-a01c-85a454f8b4e2] - X-Runtime: ['0.117034'] + X-Request-Id: [e867c9c8-86d0-4aa8-b03e-b5fdfc4412cd] + X-Runtime: ['0.065620'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -123,7 +123,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/filters response: - body: {string: '{"id":"131","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"2","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -134,10 +134,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [0304df20-42ff-4542-b654-5c7f09caeab4] - X-Runtime: ['0.026096'] + X-Request-Id: [3f3e2b55-84be-46b3-a934-d287b9293a1d] + X-Runtime: ['0.072304'] X-XSS-Protection: [1; mode=block] - content-length: ['115'] + content-length: ['113'] status: {code: 200, message: OK} - request: body: null @@ -150,7 +150,7 @@ interactions: method: GET uri: http://localhost:3000/api/v1/filters response: - body: {string: '[{"id":"131","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}]'} + body: {string: '[{"id":"2","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}]'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -161,10 +161,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [fcc691dd-0dbe-4424-8013-b4d4370e2e1a] - X-Runtime: ['0.029119'] + X-Request-Id: [e88758ed-35e6-4cf0-976e-1b9cc8adbca8] + X-Runtime: ['0.060282'] X-XSS-Protection: [1; mode=block] - content-length: ['117'] + content-length: ['115'] status: {code: 200, message: OK} - request: body: null @@ -175,9 +175,9 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/filters/131 + uri: http://localhost:3000/api/v1/filters/2 response: - body: {string: '{"id":"131","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}'} + body: {string: '{"id":"2","phrase":"anime","context":["notifications"],"whole_word":false,"expires_at":null,"irreversible":false}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -188,10 +188,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [e9e6a94f-f1fa-47d9-b93f-4ebeaeb7f556] - X-Runtime: ['0.028252'] + X-Request-Id: [32d2ce88-70aa-48be-b6f8-75882e8078d7] + X-Runtime: ['0.058851'] X-XSS-Protection: [1; mode=block] - content-length: ['115'] + content-length: ['113'] status: {code: 200, message: OK} - request: body: null @@ -203,7 +203,7 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/filters/131 + uri: http://localhost:3000/api/v1/filters/2 response: body: {string: '{}'} headers: @@ -216,8 +216,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [fd17ed83-caf5-4979-a12f-34787376f8ea] - X-Runtime: ['0.052309'] + X-Request-Id: [07d47c2a-d139-4134-8a0b-8cd51283188b] + X-Runtime: ['0.067618'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3