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_authorize.yaml | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'tests/cassettes/test_follow_request_authorize.yaml') diff --git a/tests/cassettes/test_follow_request_authorize.yaml b/tests/cassettes/test_follow_request_authorize.yaml index af80fe5..80a722e 100644 --- a/tests/cassettes/test_follow_request_authorize.yaml +++ b/tests/cassettes/test_follow_request_authorize.yaml @@ -23,8 +23,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [b09b8258-e503-42a3-aa4e-900770f56a0b] - X-Runtime: ['0.057911'] + X-Request-Id: [90e75c80-6a55-4fee-8509-e68ae056b222] + X-Runtime: ['0.074570'] 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: [e760a93c-da2b-4357-8944-153d5f20b84c] - X-Runtime: ['0.046723'] + X-Request-Id: [3140a59e-6648-4d82-b42b-8cdf3634fcf9] + X-Runtime: ['0.051562'] 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/authorize response: - body: {string: '{}'} + body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":true,"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,10 +79,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6b5c7f8f-1153-4d3e-a1e2-3d5a723efd17] - X-Runtime: ['0.100847'] + X-Request-Id: [99469b48-1550-4a7a-9e11-093b00b89a6f] + X-Runtime: ['0.129939'] X-XSS-Protection: [1; mode=block] - content-length: ['2'] + content-length: ['210'] status: {code: 200, message: OK} - request: body: null @@ -107,8 +107,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [63236a87-0714-4715-9714-f6197e82f7ce] - X-Runtime: ['0.046859'] + X-Request-Id: [b418cf96-017f-4988-b36a-9634725242d6] + X-Runtime: ['0.067144'] X-XSS-Protection: [1; mode=block] content-length: ['226'] status: {code: 200, message: OK} -- cgit v1.2.3