diff options
Diffstat (limited to 'tests/cassettes/test_account_search.yaml')
-rw-r--r-- | tests/cassettes/test_account_search.yaml | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/tests/cassettes/test_account_search.yaml b/tests/cassettes/test_account_search.yaml index 8b62a2c..394aed0 100644 --- a/tests/cassettes/test_account_search.yaml +++ b/tests/cassettes/test_account_search.yaml | |||
@@ -10,11 +10,11 @@ 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":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":81,"emojis":[],"fields":[]}]'} | 13 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T17:58:11.427Z","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":4,"emojis":[],"fields":[]}]'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | 15 | Cache-Control: ['max-age=0, private, must-revalidate'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
17 | ETag: [W/"26546ccfc2cf4b2e657f2b0cf992234b"] | 17 | ETag: [W/"52eb1952ed63f9fab4be6691ba735fbe"] |
18 | Referrer-Policy: [strict-origin-when-cross-origin] | 18 | Referrer-Policy: [strict-origin-when-cross-origin] |
19 | Transfer-Encoding: [chunked] | 19 | Transfer-Encoding: [chunked] |
20 | Vary: ['Accept-Encoding, Origin'] | 20 | Vary: ['Accept-Encoding, Origin'] |
@@ -22,10 +22,10 @@ interactions: | |||
22 | X-Download-Options: [noopen] | 22 | X-Download-Options: [noopen] |
23 | X-Frame-Options: [SAMEORIGIN] | 23 | X-Frame-Options: [SAMEORIGIN] |
24 | X-Permitted-Cross-Domain-Policies: [none] | 24 | X-Permitted-Cross-Domain-Policies: [none] |
25 | X-Request-Id: [97762efb-4888-4bc5-92cc-181250dd36b4] | 25 | X-Request-Id: [d1118f9e-9bba-4ee9-92ae-5b507b976528] |
26 | X-Runtime: ['0.030619'] | 26 | X-Runtime: ['0.026411'] |
27 | X-XSS-Protection: [1; mode=block] | 27 | X-XSS-Protection: [1; mode=block] |
28 | content-length: ['551'] | 28 | content-length: ['525'] |
29 | status: {code: 200, message: OK} | 29 | status: {code: 200, message: OK} |
30 | - request: | 30 | - request: |
31 | body: reblogs=1&id=1 | 31 | body: reblogs=1&id=1 |
@@ -40,11 +40,11 @@ interactions: | |||
40 | method: POST | 40 | method: POST |
41 | uri: http://localhost:3000/api/v1/accounts/1/follow | 41 | uri: http://localhost:3000/api/v1/accounts/1/follow |
42 | response: | 42 | response: |
43 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} | 43 | body: {string: '{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} |
44 | headers: | 44 | headers: |
45 | Cache-Control: ['max-age=0, private, must-revalidate'] | 45 | Cache-Control: ['max-age=0, private, must-revalidate'] |
46 | Content-Type: [application/json; charset=utf-8] | 46 | Content-Type: [application/json; charset=utf-8] |
47 | ETag: [W/"bc9fd39e41f439919274b937387bab3e"] | 47 | ETag: [W/"9f0c01526fdbe9beed863514654c8a27"] |
48 | Referrer-Policy: [strict-origin-when-cross-origin] | 48 | Referrer-Policy: [strict-origin-when-cross-origin] |
49 | Transfer-Encoding: [chunked] | 49 | Transfer-Encoding: [chunked] |
50 | Vary: ['Accept-Encoding, Origin'] | 50 | Vary: ['Accept-Encoding, Origin'] |
@@ -52,10 +52,10 @@ interactions: | |||
52 | X-Download-Options: [noopen] | 52 | X-Download-Options: [noopen] |
53 | X-Frame-Options: [SAMEORIGIN] | 53 | X-Frame-Options: [SAMEORIGIN] |
54 | X-Permitted-Cross-Domain-Policies: [none] | 54 | X-Permitted-Cross-Domain-Policies: [none] |
55 | X-Request-Id: [d0540e33-59ac-477c-9677-1e693af60b4e] | 55 | X-Request-Id: [4403137f-2b9e-4fb6-8b74-d5c398830f4f] |
56 | X-Runtime: ['0.041764'] | 56 | X-Runtime: ['0.059357'] |
57 | X-XSS-Protection: [1; mode=block] | 57 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['173'] | 58 | content-length: ['209'] |
59 | status: {code: 200, message: OK} | 59 | status: {code: 200, message: OK} |
60 | - request: | 60 | - request: |
61 | body: null | 61 | body: null |
@@ -68,11 +68,11 @@ interactions: | |||
68 | method: GET | 68 | method: GET |
69 | uri: http://localhost:3000/api/v1/accounts/search?following=1&q=admin | 69 | uri: http://localhost:3000/api/v1/accounts/search?following=1&q=admin |
70 | response: | 70 | response: |
71 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":81,"emojis":[],"fields":[]}]'} | 71 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T17:58:11.427Z","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":4,"emojis":[],"fields":[]}]'} |
72 | headers: | 72 | headers: |
73 | Cache-Control: ['max-age=0, private, must-revalidate'] | 73 | Cache-Control: ['max-age=0, private, must-revalidate'] |
74 | Content-Type: [application/json; charset=utf-8] | 74 | Content-Type: [application/json; charset=utf-8] |
75 | ETag: [W/"26546ccfc2cf4b2e657f2b0cf992234b"] | 75 | ETag: [W/"5c16c23964b1d8a81df3e5d2ce7dca5a"] |
76 | Referrer-Policy: [strict-origin-when-cross-origin] | 76 | Referrer-Policy: [strict-origin-when-cross-origin] |
77 | Transfer-Encoding: [chunked] | 77 | Transfer-Encoding: [chunked] |
78 | Vary: ['Accept-Encoding, Origin'] | 78 | Vary: ['Accept-Encoding, Origin'] |
@@ -80,10 +80,10 @@ interactions: | |||
80 | X-Download-Options: [noopen] | 80 | X-Download-Options: [noopen] |
81 | X-Frame-Options: [SAMEORIGIN] | 81 | X-Frame-Options: [SAMEORIGIN] |
82 | X-Permitted-Cross-Domain-Policies: [none] | 82 | X-Permitted-Cross-Domain-Policies: [none] |
83 | X-Request-Id: [ada3f62d-2271-4bf7-90a1-3d8d1eb3145f] | 83 | X-Request-Id: [1007cb02-821f-47f4-bd55-4d41c822b600] |
84 | X-Runtime: ['0.032362'] | 84 | X-Runtime: ['0.082941'] |
85 | X-XSS-Protection: [1; mode=block] | 85 | X-XSS-Protection: [1; mode=block] |
86 | content-length: ['551'] | 86 | content-length: ['525'] |
87 | status: {code: 200, message: OK} | 87 | status: {code: 200, message: OK} |
88 | - request: | 88 | - request: |
89 | body: null | 89 | body: null |
@@ -97,11 +97,11 @@ interactions: | |||
97 | method: POST | 97 | method: POST |
98 | uri: http://localhost:3000/api/v1/accounts/1/unfollow | 98 | uri: http://localhost:3000/api/v1/accounts/1/unfollow |
99 | response: | 99 | response: |
100 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'} | 100 | body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'} |
101 | headers: | 101 | headers: |
102 | Cache-Control: ['max-age=0, private, must-revalidate'] | 102 | Cache-Control: ['max-age=0, private, must-revalidate'] |
103 | Content-Type: [application/json; charset=utf-8] | 103 | Content-Type: [application/json; charset=utf-8] |
104 | ETag: [W/"2faa51ebd74eb174c9125d103f2f9731"] | 104 | ETag: [W/"79bae29344ba15b6f812d308f590e5a9"] |
105 | Referrer-Policy: [strict-origin-when-cross-origin] | 105 | Referrer-Policy: [strict-origin-when-cross-origin] |
106 | Transfer-Encoding: [chunked] | 106 | Transfer-Encoding: [chunked] |
107 | Vary: ['Accept-Encoding, Origin'] | 107 | Vary: ['Accept-Encoding, Origin'] |
@@ -109,10 +109,10 @@ interactions: | |||
109 | X-Download-Options: [noopen] | 109 | X-Download-Options: [noopen] |
110 | X-Frame-Options: [SAMEORIGIN] | 110 | X-Frame-Options: [SAMEORIGIN] |
111 | X-Permitted-Cross-Domain-Policies: [none] | 111 | X-Permitted-Cross-Domain-Policies: [none] |
112 | X-Request-Id: [b2348e30-50b8-4c3d-a415-9ef923977a0c] | 112 | X-Request-Id: [658c236e-2809-4829-8ade-a22945a1d680] |
113 | X-Runtime: ['0.076637'] | 113 | X-Runtime: ['0.103426'] |
114 | X-XSS-Protection: [1; mode=block] | 114 | X-XSS-Protection: [1; mode=block] |
115 | content-length: ['175'] | 115 | content-length: ['211'] |
116 | status: {code: 200, message: OK} | 116 | status: {code: 200, message: OK} |
117 | - request: | 117 | - request: |
118 | body: null | 118 | body: null |
@@ -129,7 +129,7 @@ interactions: | |||
129 | headers: | 129 | headers: |
130 | Cache-Control: ['max-age=0, private, must-revalidate'] | 130 | Cache-Control: ['max-age=0, private, must-revalidate'] |
131 | Content-Type: [application/json; charset=utf-8] | 131 | Content-Type: [application/json; charset=utf-8] |
132 | ETag: [W/"4583a3914eef81c28ec55fd5f366846b"] | 132 | ETag: [W/"fa588177d9a0b1be8cc336136201d000"] |
133 | Referrer-Policy: [strict-origin-when-cross-origin] | 133 | Referrer-Policy: [strict-origin-when-cross-origin] |
134 | Transfer-Encoding: [chunked] | 134 | Transfer-Encoding: [chunked] |
135 | Vary: ['Accept-Encoding, Origin'] | 135 | Vary: ['Accept-Encoding, Origin'] |
@@ -137,8 +137,8 @@ interactions: | |||
137 | X-Download-Options: [noopen] | 137 | X-Download-Options: [noopen] |
138 | X-Frame-Options: [SAMEORIGIN] | 138 | X-Frame-Options: [SAMEORIGIN] |
139 | X-Permitted-Cross-Domain-Policies: [none] | 139 | X-Permitted-Cross-Domain-Policies: [none] |
140 | X-Request-Id: [91318d35-f87b-4fe1-ab79-410944655feb] | 140 | X-Request-Id: [52d8a685-fc56-4e10-a77a-5f4e2768d857] |
141 | X-Runtime: ['0.039220'] | 141 | X-Runtime: ['0.018944'] |
142 | X-XSS-Protection: [1; mode=block] | 142 | X-XSS-Protection: [1; mode=block] |
143 | content-length: ['2'] | 143 | content-length: ['2'] |
144 | status: {code: 200, message: OK} | 144 | status: {code: 200, message: OK} |
@@ -153,11 +153,11 @@ interactions: | |||
153 | method: GET | 153 | method: GET |
154 | uri: http://localhost:3000/api/v1/accounts/search?following=0&q=admin | 154 | uri: http://localhost:3000/api/v1/accounts/search?following=0&q=admin |
155 | response: | 155 | response: |
156 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-07-13T19:35:33.303Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":81,"emojis":[],"fields":[]}]'} | 156 | body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-04-27T17:58:11.427Z","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":4,"emojis":[],"fields":[]}]'} |
157 | headers: | 157 | headers: |
158 | Cache-Control: ['max-age=0, private, must-revalidate'] | 158 | Cache-Control: ['max-age=0, private, must-revalidate'] |
159 | Content-Type: [application/json; charset=utf-8] | 159 | Content-Type: [application/json; charset=utf-8] |
160 | ETag: [W/"c391d6c92bdd48743f3f208e5f8e554a"] | 160 | ETag: [W/"52eb1952ed63f9fab4be6691ba735fbe"] |
161 | Referrer-Policy: [strict-origin-when-cross-origin] | 161 | Referrer-Policy: [strict-origin-when-cross-origin] |
162 | Transfer-Encoding: [chunked] | 162 | Transfer-Encoding: [chunked] |
163 | Vary: ['Accept-Encoding, Origin'] | 163 | Vary: ['Accept-Encoding, Origin'] |
@@ -165,9 +165,9 @@ interactions: | |||
165 | X-Download-Options: [noopen] | 165 | X-Download-Options: [noopen] |
166 | X-Frame-Options: [SAMEORIGIN] | 166 | X-Frame-Options: [SAMEORIGIN] |
167 | X-Permitted-Cross-Domain-Policies: [none] | 167 | X-Permitted-Cross-Domain-Policies: [none] |
168 | X-Request-Id: [b35c23a8-5e9b-418f-b90d-c9eb14ccaf1e] | 168 | X-Request-Id: [a23dd013-8bbc-4d08-a928-4168f4eae71e] |
169 | X-Runtime: ['0.025489'] | 169 | X-Runtime: ['0.020617'] |
170 | X-XSS-Protection: [1; mode=block] | 170 | X-XSS-Protection: [1; mode=block] |
171 | content-length: ['551'] | 171 | content-length: ['525'] |
172 | status: {code: 200, message: OK} | 172 | status: {code: 200, message: OK} |
173 | version: 1 | 173 | version: 1 |