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_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 4e6779f..bde600c 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":16,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"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":2,"following_count":1,"statuses_count":27,"last_status_at":"2019-10-11T21:45:48.648Z","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: [02acee62-4be9-44c6-9358-053a5fefd051] - X-Runtime: ['0.037721'] + X-Request-Id: [950fad2e-720f-4f0f-aa83-98bcd6aeb45d] + X-Runtime: ['0.030823'] X-XSS-Protection: [1; mode=block] - content-length: ['610'] + content-length: ['680'] 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: [48078e43-3b8d-4bae-9151-c988d7e4cc3b] - X-Runtime: ['0.076653'] + X-Request-Id: [9bca315e-f074-4fdc-8f17-cd31dfc0b42e] + X-Runtime: ['0.080563'] 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: [1417a149-882b-4757-ae0c-5cb0809546bc] - X-Runtime: ['0.075845'] + X-Request-Id: [548fa7b7-a6ec-43bd-b225-877463c38cb6] + X-Runtime: ['0.095486'] 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: [53711991-dc2c-4e2a-899c-4c125499904b] - X-Runtime: ['0.059953'] + X-Request-Id: [a88bda5c-63bf-4bcf-a17c-668b68dd537b] + X-Runtime: ['0.063345'] 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":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:45:48.648Z","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: [1c7a0fb2-9f54-452c-a7db-79994a435851] - X-Runtime: ['0.024199'] + X-Request-Id: [84c1395a-c349-4b3c-b094-fe64f7f2240f] + X-Runtime: ['0.052792'] X-XSS-Protection: [1; mode=block] - content-length: ['526'] + content-length: ['570'] 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: [e89fb4fb-c8d7-4ba8-965a-7ff2eabe00f8] - X-Runtime: ['0.028116'] + X-Request-Id: [fa585732-6193-4cf1-a64b-dbfeacae4c29] + X-Runtime: ['0.034455'] 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: [a175ff2d-a748-4b55-aa4e-6fe756492349] - X-Runtime: ['0.018454'] + X-Request-Id: [50a6c4aa-d887-4b42-9cc6-9e0d07ac6e64] + X-Runtime: ['0.031412'] 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: [0a682eb2-f663-4bf5-b637-cf50ef9424a0] - X-Runtime: ['0.077660'] + X-Request-Id: [8ea51729-d6f1-4dbd-a9ad-3003d92c8df9] + X-Runtime: ['0.078636'] X-XSS-Protection: [1; mode=block] content-length: ['211'] status: {code: 200, message: OK} -- cgit v1.2.3