From 437f68c29a18303de3c75962021bbe030b2cf85c Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Fri, 11 Oct 2019 23:59:24 +0200 Subject: Update tests for 3.0.1 and fix regressions --- tests/cassettes/test_follow_request_reject.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tests/cassettes/test_follow_request_reject.yaml') diff --git a/tests/cassettes/test_follow_request_reject.yaml b/tests/cassettes/test_follow_request_reject.yaml index 340fe07..ad308f0 100644 --- a/tests/cassettes/test_follow_request_reject.yaml +++ b/tests/cassettes/test_follow_request_reject.yaml @@ -23,8 +23,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [ffd268f7-42f2-4ac2-be1c-4fdbf37201f5] - X-Runtime: ['0.047446'] + X-Request-Id: [2bcdeaa3-0e0c-4b02-8f8a-0a9a9d10a0f0] + X-Runtime: ['0.057828'] X-XSS-Protection: [1; mode=block] content-length: ['224'] status: {code: 200, message: OK} @@ -39,11 +39,11 @@ interactions: method: GET uri: http://localhost:3000/api/v1/follow_requests 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":3,"following_count":1,"statuses_count":16,"emojis":[],"fields":[]}]'} + 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":3,"following_count":1,"statuses_count":27,"last_status_at":"2019-10-11T21:48:42.003Z","emojis":[],"fields":[]}]'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] - Link: ['; rel="prev"'] + Link: ['; rel="prev"'] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -51,10 +51,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [7e5522d5-da66-4459-bda9-d035d175d9fb] - X-Runtime: ['0.048571'] + X-Request-Id: [c05f87d7-2d4e-4d9d-af32-74ee669574bd] + X-Runtime: ['0.027809'] X-XSS-Protection: [1; mode=block] - content-length: ['526'] + content-length: ['570'] status: {code: 200, message: OK} - request: body: null @@ -68,7 +68,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/follow_requests/1/reject response: - body: {string: '{}'} + body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} headers: Cache-Control: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] @@ -79,9 +79,9 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [e3763a66-ce27-454f-8530-dae785e6e569] - X-Runtime: ['0.031822'] + X-Request-Id: [41c97958-f2e3-491f-9792-4ddfd92b14bf] + X-Runtime: ['0.037201'] X-XSS-Protection: [1; mode=block] - content-length: ['2'] + content-length: ['211'] status: {code: 200, message: OK} version: 1 -- cgit v1.2.3