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_list_by_account.yaml | 44 +++++++++++++++---------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'tests/cassettes/test_list_by_account.yaml') diff --git a/tests/cassettes/test_list_by_account.yaml b/tests/cassettes/test_list_by_account.yaml index a761fe1..c2b9a00 100644 --- a/tests/cassettes/test_list_by_account.yaml +++ b/tests/cassettes/test_list_by_account.yaml @@ -12,7 +12,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/lists response: - body: {string: '{"id":"49","title":"ham burglars"}'} + body: {string: '{"id":"4","title":"ham burglars"}'} 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: [285d323d-4a28-4d4c-9500-1989a2b8cec0] - X-Runtime: ['0.024783'] + X-Request-Id: [f2629943-8a5e-4f30-bda2-f933f33fb6a9] + X-Runtime: ['0.034635'] X-XSS-Protection: [1; mode=block] - content-length: ['34'] + content-length: ['33'] status: {code: 200, message: OK} - request: body: null @@ -39,7 +39,7 @@ interactions: method: GET uri: http://localhost:3000/api/v1/accounts/verify_credentials response: - body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-12T21:00:36.915Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} + body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"discoverable":null,"group":false,"created_at":"2020-02-22T19:13:53.944Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2020-02-22","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'} 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: [01ff91c9-e099-48a6-9cf5-4405436a61de] - X-Runtime: ['0.024264'] + X-Request-Id: [fff1b6df-bf49-4a7e-b483-969ff9d5681d] + X-Runtime: ['0.043750'] X-XSS-Protection: [1; mode=block] - content-length: ['680'] + content-length: ['699'] status: {code: 200, message: OK} - request: body: reblogs=1&id=1 @@ -79,8 +79,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [ffc3d973-541f-4a4b-980e-43a6db659156] - X-Runtime: ['0.088392'] + X-Request-Id: [8f805537-cfaf-4f49-b28a-eb81e91167ac] + X-Runtime: ['0.099585'] X-XSS-Protection: [1; mode=block] content-length: ['209'] status: {code: 200, message: OK} @@ -95,7 +95,7 @@ interactions: Content-Type: [application/x-www-form-urlencoded] User-Agent: [python-requests/2.18.4] method: POST - uri: http://localhost:3000/api/v1/lists/49/accounts + uri: http://localhost:3000/api/v1/lists/4/accounts response: body: {string: '{}'} headers: @@ -108,8 +108,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [4c9f6311-1972-41d3-a7e9-cf3c282d64a7] - X-Runtime: ['0.093436'] + X-Request-Id: [772dddff-d6d9-4714-9217-77efffa99685] + X-Runtime: ['0.154870'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -124,7 +124,7 @@ interactions: method: GET uri: http://localhost:3000/api/v1/accounts/1/lists response: - body: {string: '[{"id":"49","title":"ham burglars"}]'} + body: {string: '[{"id":"4","title":"ham burglars"}]'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -135,10 +135,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [59c20f40-f8bc-4c5e-aed5-21e32fbcba2e] - X-Runtime: ['0.038461'] + X-Request-Id: [69b18900-08c3-4cac-9369-e487f948309d] + X-Runtime: ['0.063406'] X-XSS-Protection: [1; mode=block] - content-length: ['36'] + content-length: ['35'] status: {code: 200, message: OK} - request: body: null @@ -163,8 +163,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6fd63d94-9e59-400d-b2ff-d0f58448c08a] - X-Runtime: ['0.061925'] + X-Request-Id: [6d2445ac-7050-4468-945b-cf479ea119c7] + X-Runtime: ['0.071571'] X-XSS-Protection: [1; mode=block] content-length: ['211'] status: {code: 200, message: OK} @@ -178,7 +178,7 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/lists/49 + uri: http://localhost:3000/api/v1/lists/4 response: body: {string: '{}'} headers: @@ -191,8 +191,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [872a9fff-cbe1-404c-8e11-850bf081b0e1] - X-Runtime: ['0.034015'] + X-Request-Id: [dd142ff9-802c-4365-a3a6-46d375810843] + X-Runtime: ['0.050116'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3