diff options
author | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2019-10-11 23:59:24 +0200 |
commit | 437f68c29a18303de3c75962021bbe030b2cf85c (patch) | |
tree | 83b7ba151a3e52163fd7048f82672394bcbb3865 /tests/cassettes/test_follow_request_authorize.yaml | |
parent | 2c2f55fd63e4096580f4d56279c261cedb1be1a9 (diff) | |
download | mastodon.py-437f68c29a18303de3c75962021bbe030b2cf85c.tar.gz |
Update tests for 3.0.1 and fix regressions
Diffstat (limited to 'tests/cassettes/test_follow_request_authorize.yaml')
-rw-r--r-- | tests/cassettes/test_follow_request_authorize.yaml | 26 |
1 files changed, 13 insertions, 13 deletions
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: | |||
23 | X-Download-Options: [noopen] | 23 | X-Download-Options: [noopen] |
24 | X-Frame-Options: [SAMEORIGIN] | 24 | X-Frame-Options: [SAMEORIGIN] |
25 | X-Permitted-Cross-Domain-Policies: [none] | 25 | X-Permitted-Cross-Domain-Policies: [none] |
26 | X-Request-Id: [b09b8258-e503-42a3-aa4e-900770f56a0b] | 26 | X-Request-Id: [90e75c80-6a55-4fee-8509-e68ae056b222] |
27 | X-Runtime: ['0.057911'] | 27 | X-Runtime: ['0.074570'] |
28 | X-XSS-Protection: [1; mode=block] | 28 | X-XSS-Protection: [1; mode=block] |
29 | content-length: ['224'] | 29 | content-length: ['224'] |
30 | status: {code: 200, message: OK} | 30 | status: {code: 200, message: OK} |
@@ -39,11 +39,11 @@ interactions: | |||
39 | method: GET | 39 | method: GET |
40 | uri: http://localhost:3000/api/v1/follow_requests | 40 | uri: http://localhost:3000/api/v1/follow_requests |
41 | response: | 41 | response: |
42 | 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":[]}]'} | 42 | 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":[]}]'} |
43 | headers: | 43 | headers: |
44 | Cache-Control: ['no-cache, no-store'] | 44 | Cache-Control: ['no-cache, no-store'] |
45 | Content-Type: [application/json; charset=utf-8] | 45 | Content-Type: [application/json; charset=utf-8] |
46 | Link: ['<http://localhost:3000/api/v1/follow_requests?since_id=14>; rel="prev"'] | 46 | Link: ['<http://localhost:3000/api/v1/follow_requests?since_id=22>; rel="prev"'] |
47 | Referrer-Policy: [strict-origin-when-cross-origin] | 47 | Referrer-Policy: [strict-origin-when-cross-origin] |
48 | Transfer-Encoding: [chunked] | 48 | Transfer-Encoding: [chunked] |
49 | Vary: ['Accept-Encoding, Origin'] | 49 | Vary: ['Accept-Encoding, Origin'] |
@@ -51,10 +51,10 @@ interactions: | |||
51 | X-Download-Options: [noopen] | 51 | X-Download-Options: [noopen] |
52 | X-Frame-Options: [SAMEORIGIN] | 52 | X-Frame-Options: [SAMEORIGIN] |
53 | X-Permitted-Cross-Domain-Policies: [none] | 53 | X-Permitted-Cross-Domain-Policies: [none] |
54 | X-Request-Id: [e760a93c-da2b-4357-8944-153d5f20b84c] | 54 | X-Request-Id: [3140a59e-6648-4d82-b42b-8cdf3634fcf9] |
55 | X-Runtime: ['0.046723'] | 55 | X-Runtime: ['0.051562'] |
56 | X-XSS-Protection: [1; mode=block] | 56 | X-XSS-Protection: [1; mode=block] |
57 | content-length: ['526'] | 57 | content-length: ['570'] |
58 | status: {code: 200, message: OK} | 58 | status: {code: 200, message: OK} |
59 | - request: | 59 | - request: |
60 | body: null | 60 | body: null |
@@ -68,7 +68,7 @@ interactions: | |||
68 | method: POST | 68 | method: POST |
69 | uri: http://localhost:3000/api/v1/follow_requests/1/authorize | 69 | uri: http://localhost:3000/api/v1/follow_requests/1/authorize |
70 | response: | 70 | response: |
71 | body: {string: '{}'} | 71 | 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}'} |
72 | headers: | 72 | headers: |
73 | Cache-Control: ['no-cache, no-store'] | 73 | Cache-Control: ['no-cache, no-store'] |
74 | Content-Type: [application/json; charset=utf-8] | 74 | Content-Type: [application/json; charset=utf-8] |
@@ -79,10 +79,10 @@ interactions: | |||
79 | X-Download-Options: [noopen] | 79 | X-Download-Options: [noopen] |
80 | X-Frame-Options: [SAMEORIGIN] | 80 | X-Frame-Options: [SAMEORIGIN] |
81 | X-Permitted-Cross-Domain-Policies: [none] | 81 | X-Permitted-Cross-Domain-Policies: [none] |
82 | X-Request-Id: [6b5c7f8f-1153-4d3e-a1e2-3d5a723efd17] | 82 | X-Request-Id: [99469b48-1550-4a7a-9e11-093b00b89a6f] |
83 | X-Runtime: ['0.100847'] | 83 | X-Runtime: ['0.129939'] |
84 | X-XSS-Protection: [1; mode=block] | 84 | X-XSS-Protection: [1; mode=block] |
85 | content-length: ['2'] | 85 | content-length: ['210'] |
86 | status: {code: 200, message: OK} | 86 | status: {code: 200, message: OK} |
87 | - request: | 87 | - request: |
88 | body: null | 88 | body: null |
@@ -107,8 +107,8 @@ interactions: | |||
107 | X-Download-Options: [noopen] | 107 | X-Download-Options: [noopen] |
108 | X-Frame-Options: [SAMEORIGIN] | 108 | X-Frame-Options: [SAMEORIGIN] |
109 | X-Permitted-Cross-Domain-Policies: [none] | 109 | X-Permitted-Cross-Domain-Policies: [none] |
110 | X-Request-Id: [63236a87-0714-4715-9714-f6197e82f7ce] | 110 | X-Request-Id: [b418cf96-017f-4988-b36a-9634725242d6] |
111 | X-Runtime: ['0.046859'] | 111 | X-Runtime: ['0.067144'] |
112 | X-XSS-Protection: [1; mode=block] | 112 | X-XSS-Protection: [1; mode=block] |
113 | content-length: ['226'] | 113 | content-length: ['226'] |
114 | status: {code: 200, message: OK} | 114 | status: {code: 200, message: OK} |