From 8d5fe70c7e52656b2f89d0acfb1aed23bf583041 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Mon, 7 May 2018 00:53:13 +0200 Subject: Fix some bugs, update tests --- tests/cassettes/test_list_create.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'tests/cassettes/test_list_create.yaml') diff --git a/tests/cassettes/test_list_create.yaml b/tests/cassettes/test_list_create.yaml index 41c9d50..07932c2 100644 --- a/tests/cassettes/test_list_create.yaml +++ b/tests/cassettes/test_list_create.yaml @@ -12,19 +12,19 @@ interactions: method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"21","title":"ham burglars"}'} + body: {string: '{"id":"6","title":"ham burglars"}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"7a697af6c938508b5253601ebd4dd6e6"] + ETag: [W/"fae29f42dd15db5ff04ec5cb07d1afbf"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [ace7486c-8c0b-46ef-8dc2-69719035824f] - X-Runtime: ['0.030442'] + X-Request-Id: [20ed0853-bc7e-4951-b7eb-b007d1c32237] + X-Runtime: ['0.049969'] X-XSS-Protection: [1; mode=block] - content-length: ['34'] + content-length: ['33'] status: {code: 200, message: OK} - request: body: null @@ -37,19 +37,19 @@ interactions: method: GET uri: http://localhost:3000/api/v1/lists response: - body: {string: '[{"id":"1","title":"ham burglars"},{"id":"21","title":"ham burglars"}]'} + body: {string: '[{"id":"6","title":"ham burglars"}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"158cecd920100143aaaaca0e264e3eff"] + ETag: [W/"ce5423a2fd0bcec59f9e4d00cdd762a8"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [cb76cdf7-a8a4-47ab-b22d-8d605bfcb2e5] - X-Runtime: ['0.019989'] + X-Request-Id: [9fc27d93-1953-4987-a34e-6c518eda6925] + X-Runtime: ['0.044163'] X-XSS-Protection: [1; mode=block] - content-length: ['70'] + content-length: ['35'] status: {code: 200, message: OK} - request: body: null @@ -61,19 +61,19 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.9.1] method: DELETE - uri: http://localhost:3000/api/v1/lists/21 + uri: http://localhost:3000/api/v1/lists/6 response: body: {string: '{}'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"517599317c4db2fd6c980b4f38eaa967"] + ETag: [W/"a77455733b41870263bbeac3de0e0dac"] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [82ba57ca-5026-403f-a024-8b33c87504a2] - X-Runtime: ['0.025599'] + X-Request-Id: [3f749997-5fae-4b1d-9563-ea45cbfb6a87] + X-Runtime: ['0.028318'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3