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_account_pin_unpin.yaml | 40 ++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'tests/cassettes/test_account_pin_unpin.yaml') diff --git a/tests/cassettes/test_account_pin_unpin.yaml b/tests/cassettes/test_account_pin_unpin.yaml index 1f11287..f0893d8 100644 --- a/tests/cassettes/test_account_pin_unpin.yaml +++ b/tests/cassettes/test_account_pin_unpin.yaml @@ -10,7 +10,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-11T21:57:00.304Z","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":null,"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] @@ -21,10 +21,10 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [37b30221-c0d5-4cfb-9768-b9e6554e6595] - X-Runtime: ['0.033095'] + X-Request-Id: [1759aeac-c7c9-44e8-a945-3d4224bc572d] + X-Runtime: ['0.070126'] X-XSS-Protection: [1; mode=block] - content-length: ['680'] + content-length: ['691'] status: {code: 200, message: OK} - request: body: reblogs=1&id=1 @@ -50,8 +50,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [9239f956-e331-41cd-bdea-3808c5860010] - X-Runtime: ['0.083858'] + X-Request-Id: [0b379cc5-182b-424b-9a8f-429e38b71e25] + X-Runtime: ['0.089844'] X-XSS-Protection: [1; mode=block] content-length: ['209'] status: {code: 200, message: OK} @@ -78,8 +78,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [ff838dc7-5abf-43ef-9b67-14c96830ebda] - X-Runtime: ['0.080912'] + X-Request-Id: [3df005da-d105-4b15-8376-47abdb7829b3] + X-Runtime: ['0.098275'] X-XSS-Protection: [1; mode=block] content-length: ['209'] status: {code: 200, message: OK} @@ -106,8 +106,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [495577ad-4106-4ffd-af43-ee8e7b310134] - X-Runtime: ['0.060430'] + X-Request-Id: [81b184bc-ec1c-41c7-b48d-0f073381fa2d] + X-Runtime: ['0.056627'] X-XSS-Protection: [1; mode=block] content-length: ['208'] status: {code: 200, message: OK} @@ -122,7 +122,7 @@ interactions: method: GET uri: http://localhost:3000/api/v1/endorsements 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":30,"last_status_at":"2019-10-11T21:57:00.304Z","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":1,"following_count":0,"statuses_count":0,"last_status_at":null,"emojis":[],"fields":[]}]'} 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: [3120d909-0778-4931-82e8-1bcce468030a] - X-Runtime: ['0.026059'] + X-Request-Id: [f8e2d655-3cb0-4bbc-8c34-c0bb7fb91b7e] + X-Runtime: ['0.053483'] X-XSS-Protection: [1; mode=block] - content-length: ['570'] + content-length: ['581'] status: {code: 200, message: OK} - request: body: null @@ -162,8 +162,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [2626136d-3ca6-4e15-b72a-ce74d48d258b] - X-Runtime: ['0.042342'] + X-Request-Id: [fdd28069-66c1-4417-aff3-8056cc04c4c4] + X-Runtime: ['0.042610'] X-XSS-Protection: [1; mode=block] content-length: ['209'] status: {code: 200, message: OK} @@ -189,8 +189,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [38056c3e-6130-49cb-af50-d24d6843798f] - X-Runtime: ['0.018241'] + X-Request-Id: [f7f28d03-c2e7-417b-a12f-e23a35a3df57] + X-Runtime: ['0.029372'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -217,8 +217,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [6d084205-6583-4564-b7ea-750b0ca04417] - X-Runtime: ['0.059548'] + X-Request-Id: [c8beb628-90be-458a-a8a3-097153d6befd] + X-Runtime: ['0.074431'] X-XSS-Protection: [1; mode=block] content-length: ['211'] status: {code: 200, message: OK} -- cgit v1.2.3