diff options
author | Lorenz Diener <[email protected]> | 2020-02-22 20:31:33 +0100 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2020-02-22 20:31:33 +0100 |
commit | 4f90728a4a8c98f3ee7e9aab5a05f93c152a375d (patch) | |
tree | a06d71bfcc7be6e8fe6d17a881cebfbafbe51963 /tests/cassettes/test_account_search.yaml | |
parent | 2132615269aa80a01d9af63d90e075197603fa3e (diff) | |
download | mastodon.py-4f90728a4a8c98f3ee7e9aab5a05f93c152a375d.tar.gz |
Fix tests for 3.1.1
Diffstat (limited to 'tests/cassettes/test_account_search.yaml')
-rw-r--r-- | tests/cassettes/test_account_search.yaml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/cassettes/test_account_search.yaml b/tests/cassettes/test_account_search.yaml index 7e4b456..1d42aee 100644 --- a/tests/cassettes/test_account_search.yaml +++ b/tests/cassettes/test_account_search.yaml | |||
@@ -10,7 +10,7 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/accounts/search?following=0&q=admin | 11 | uri: http://localhost:3000/api/v1/accounts/search?following=0&q=admin |
12 | response: | 12 | response: |
13 | 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":[]}]'} | 13 | 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,"emojis":[],"fields":[]}]'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['no-cache, no-store'] | 15 | Cache-Control: ['no-cache, no-store'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
@@ -21,10 +21,10 @@ interactions: | |||
21 | X-Download-Options: [noopen] | 21 | X-Download-Options: [noopen] |
22 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
23 | X-Permitted-Cross-Domain-Policies: [none] | 23 | X-Permitted-Cross-Domain-Policies: [none] |
24 | X-Request-Id: [83150061-a3a8-4777-b94f-0561cdcdf7b8] | 24 | X-Request-Id: [5fd3b23c-3df4-459b-b1b3-ecd670c18fc3] |
25 | X-Runtime: ['0.047975'] | 25 | X-Runtime: ['0.061265'] |
26 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['570'] | 27 | content-length: ['581'] |
28 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
29 | - request: | 29 | - request: |
30 | body: reblogs=1&id=1 | 30 | body: reblogs=1&id=1 |
@@ -50,8 +50,8 @@ interactions: | |||
50 | X-Download-Options: [noopen] | 50 | X-Download-Options: [noopen] |
51 | X-Frame-Options: [SAMEORIGIN] | 51 | X-Frame-Options: [SAMEORIGIN] |
52 | X-Permitted-Cross-Domain-Policies: [none] | 52 | X-Permitted-Cross-Domain-Policies: [none] |
53 | X-Request-Id: [331a9e44-fb8f-4eac-a7c0-3ae6b8768c69] | 53 | X-Request-Id: [d07cdb9d-af07-4664-8381-e041b7057446] |
54 | X-Runtime: ['0.042652'] | 54 | X-Runtime: ['0.149318'] |
55 | X-XSS-Protection: [1; mode=block] | 55 | X-XSS-Protection: [1; mode=block] |
56 | content-length: ['209'] | 56 | content-length: ['209'] |
57 | status: {code: 200, message: OK} | 57 | status: {code: 200, message: OK} |
@@ -66,7 +66,7 @@ interactions: | |||
66 | method: GET | 66 | method: GET |
67 | uri: http://localhost:3000/api/v1/accounts/search?following=1&q=admin | 67 | uri: http://localhost:3000/api/v1/accounts/search?following=1&q=admin |
68 | response: | 68 | response: |
69 | 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":[]}]'} | 69 | 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":[]}]'} |
70 | headers: | 70 | headers: |
71 | Cache-Control: ['no-cache, no-store'] | 71 | Cache-Control: ['no-cache, no-store'] |
72 | Content-Type: [application/json; charset=utf-8] | 72 | Content-Type: [application/json; charset=utf-8] |
@@ -77,10 +77,10 @@ interactions: | |||
77 | X-Download-Options: [noopen] | 77 | X-Download-Options: [noopen] |
78 | X-Frame-Options: [SAMEORIGIN] | 78 | X-Frame-Options: [SAMEORIGIN] |
79 | X-Permitted-Cross-Domain-Policies: [none] | 79 | X-Permitted-Cross-Domain-Policies: [none] |
80 | X-Request-Id: [bdfc2f42-bd34-4235-8e3a-591fdc5c6e6e] | 80 | X-Request-Id: [e4693e9f-eac7-48bc-9e26-bf406698faeb] |
81 | X-Runtime: ['0.033301'] | 81 | X-Runtime: ['0.070478'] |
82 | X-XSS-Protection: [1; mode=block] | 82 | X-XSS-Protection: [1; mode=block] |
83 | content-length: ['570'] | 83 | content-length: ['581'] |
84 | status: {code: 200, message: OK} | 84 | status: {code: 200, message: OK} |
85 | - request: | 85 | - request: |
86 | body: null | 86 | body: null |
@@ -105,8 +105,8 @@ interactions: | |||
105 | X-Download-Options: [noopen] | 105 | X-Download-Options: [noopen] |
106 | X-Frame-Options: [SAMEORIGIN] | 106 | X-Frame-Options: [SAMEORIGIN] |
107 | X-Permitted-Cross-Domain-Policies: [none] | 107 | X-Permitted-Cross-Domain-Policies: [none] |
108 | X-Request-Id: [1c5c0cfe-74f6-4015-b6e8-a1848db126ac] | 108 | X-Request-Id: [5b6f6ef8-2746-45c3-be0a-10752107ca9f] |
109 | X-Runtime: ['0.060028'] | 109 | X-Runtime: ['0.141664'] |
110 | X-XSS-Protection: [1; mode=block] | 110 | X-XSS-Protection: [1; mode=block] |
111 | content-length: ['211'] | 111 | content-length: ['211'] |
112 | status: {code: 200, message: OK} | 112 | status: {code: 200, message: OK} |
@@ -132,8 +132,8 @@ interactions: | |||
132 | X-Download-Options: [noopen] | 132 | X-Download-Options: [noopen] |
133 | X-Frame-Options: [SAMEORIGIN] | 133 | X-Frame-Options: [SAMEORIGIN] |
134 | X-Permitted-Cross-Domain-Policies: [none] | 134 | X-Permitted-Cross-Domain-Policies: [none] |
135 | X-Request-Id: [a1deb50c-8fe1-48b6-a09f-b0f8a1a9e5d1] | 135 | X-Request-Id: [e9fe8ca6-dbcd-4021-a33b-6db0d849313f] |
136 | X-Runtime: ['0.036730'] | 136 | X-Runtime: ['0.064333'] |
137 | X-XSS-Protection: [1; mode=block] | 137 | X-XSS-Protection: [1; mode=block] |
138 | content-length: ['2'] | 138 | content-length: ['2'] |
139 | status: {code: 200, message: OK} | 139 | status: {code: 200, message: OK} |
@@ -148,7 +148,7 @@ interactions: | |||
148 | method: GET | 148 | method: GET |
149 | uri: http://localhost:3000/api/v1/accounts/search?following=0&q=admin | 149 | uri: http://localhost:3000/api/v1/accounts/search?following=0&q=admin |
150 | response: | 150 | response: |
151 | 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","emojis":[],"fields":[]}]'} | 151 | 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,"emojis":[],"fields":[]}]'} |
152 | headers: | 152 | headers: |
153 | Cache-Control: ['no-cache, no-store'] | 153 | Cache-Control: ['no-cache, no-store'] |
154 | Content-Type: [application/json; charset=utf-8] | 154 | Content-Type: [application/json; charset=utf-8] |
@@ -159,9 +159,9 @@ interactions: | |||
159 | X-Download-Options: [noopen] | 159 | X-Download-Options: [noopen] |
160 | X-Frame-Options: [SAMEORIGIN] | 160 | X-Frame-Options: [SAMEORIGIN] |
161 | X-Permitted-Cross-Domain-Policies: [none] | 161 | X-Permitted-Cross-Domain-Policies: [none] |
162 | X-Request-Id: [f2eec3f7-ce14-426c-a2b7-98777c954462] | 162 | X-Request-Id: [c47dbff4-cddf-4d41-8fe4-0333b049fa23] |
163 | X-Runtime: ['0.027791'] | 163 | X-Runtime: ['0.117137'] |
164 | X-XSS-Protection: [1; mode=block] | 164 | X-XSS-Protection: [1; mode=block] |
165 | content-length: ['570'] | 165 | content-length: ['581'] |
166 | status: {code: 200, message: OK} | 166 | status: {code: 200, message: OK} |
167 | version: 1 | 167 | version: 1 |