diff options
Diffstat (limited to 'tests/cassettes/test_account_search.yaml')
-rw-r--r-- | tests/cassettes/test_account_search.yaml | 48 |
1 files changed, 21 insertions, 27 deletions
diff --git a/tests/cassettes/test_account_search.yaml b/tests/cassettes/test_account_search.yaml index 394aed0..6c31ca4 100644 --- a/tests/cassettes/test_account_search.yaml +++ b/tests/cassettes/test_account_search.yaml | |||
@@ -10,11 +10,10 @@ 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-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":[]}]'} | 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":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['max-age=0, private, must-revalidate'] | 15 | Cache-Control: ['no-cache, no-store'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
17 | ETag: [W/"52eb1952ed63f9fab4be6691ba735fbe"] | ||
18 | Referrer-Policy: [strict-origin-when-cross-origin] | 17 | Referrer-Policy: [strict-origin-when-cross-origin] |
19 | Transfer-Encoding: [chunked] | 18 | Transfer-Encoding: [chunked] |
20 | Vary: ['Accept-Encoding, Origin'] | 19 | Vary: ['Accept-Encoding, Origin'] |
@@ -22,8 +21,8 @@ interactions: | |||
22 | X-Download-Options: [noopen] | 21 | X-Download-Options: [noopen] |
23 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
24 | X-Permitted-Cross-Domain-Policies: [none] | 23 | X-Permitted-Cross-Domain-Policies: [none] |
25 | X-Request-Id: [d1118f9e-9bba-4ee9-92ae-5b507b976528] | 24 | X-Request-Id: [e80af8b9-b187-4ef7-aab8-14656939415f] |
26 | X-Runtime: ['0.026411'] | 25 | X-Runtime: ['0.034917'] |
27 | X-XSS-Protection: [1; mode=block] | 26 | X-XSS-Protection: [1; mode=block] |
28 | content-length: ['525'] | 27 | content-length: ['525'] |
29 | status: {code: 200, message: OK} | 28 | status: {code: 200, message: OK} |
@@ -42,9 +41,8 @@ interactions: | |||
42 | response: | 41 | response: |
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}'} | 42 | 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: | 43 | headers: |
45 | Cache-Control: ['max-age=0, private, must-revalidate'] | 44 | Cache-Control: ['no-cache, no-store'] |
46 | Content-Type: [application/json; charset=utf-8] | 45 | Content-Type: [application/json; charset=utf-8] |
47 | ETag: [W/"9f0c01526fdbe9beed863514654c8a27"] | ||
48 | Referrer-Policy: [strict-origin-when-cross-origin] | 46 | Referrer-Policy: [strict-origin-when-cross-origin] |
49 | Transfer-Encoding: [chunked] | 47 | Transfer-Encoding: [chunked] |
50 | Vary: ['Accept-Encoding, Origin'] | 48 | Vary: ['Accept-Encoding, Origin'] |
@@ -52,8 +50,8 @@ interactions: | |||
52 | X-Download-Options: [noopen] | 50 | X-Download-Options: [noopen] |
53 | X-Frame-Options: [SAMEORIGIN] | 51 | X-Frame-Options: [SAMEORIGIN] |
54 | X-Permitted-Cross-Domain-Policies: [none] | 52 | X-Permitted-Cross-Domain-Policies: [none] |
55 | X-Request-Id: [4403137f-2b9e-4fb6-8b74-d5c398830f4f] | 53 | X-Request-Id: [ce6f6ff2-f888-41c7-8963-374c1ca81a3f] |
56 | X-Runtime: ['0.059357'] | 54 | X-Runtime: ['0.080624'] |
57 | X-XSS-Protection: [1; mode=block] | 55 | X-XSS-Protection: [1; mode=block] |
58 | content-length: ['209'] | 56 | content-length: ['209'] |
59 | status: {code: 200, message: OK} | 57 | status: {code: 200, message: OK} |
@@ -68,11 +66,10 @@ interactions: | |||
68 | method: GET | 66 | method: GET |
69 | 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 |
70 | response: | 68 | response: |
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":[]}]'} | 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":1,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'} |
72 | headers: | 70 | headers: |
73 | Cache-Control: ['max-age=0, private, must-revalidate'] | 71 | Cache-Control: ['no-cache, no-store'] |
74 | Content-Type: [application/json; charset=utf-8] | 72 | Content-Type: [application/json; charset=utf-8] |
75 | ETag: [W/"5c16c23964b1d8a81df3e5d2ce7dca5a"] | ||
76 | Referrer-Policy: [strict-origin-when-cross-origin] | 73 | Referrer-Policy: [strict-origin-when-cross-origin] |
77 | Transfer-Encoding: [chunked] | 74 | Transfer-Encoding: [chunked] |
78 | Vary: ['Accept-Encoding, Origin'] | 75 | Vary: ['Accept-Encoding, Origin'] |
@@ -80,8 +77,8 @@ interactions: | |||
80 | X-Download-Options: [noopen] | 77 | X-Download-Options: [noopen] |
81 | X-Frame-Options: [SAMEORIGIN] | 78 | X-Frame-Options: [SAMEORIGIN] |
82 | X-Permitted-Cross-Domain-Policies: [none] | 79 | X-Permitted-Cross-Domain-Policies: [none] |
83 | X-Request-Id: [1007cb02-821f-47f4-bd55-4d41c822b600] | 80 | X-Request-Id: [485bffa7-28a5-46b1-a918-3ece10c93e20] |
84 | X-Runtime: ['0.082941'] | 81 | X-Runtime: ['0.025388'] |
85 | X-XSS-Protection: [1; mode=block] | 82 | X-XSS-Protection: [1; mode=block] |
86 | content-length: ['525'] | 83 | content-length: ['525'] |
87 | status: {code: 200, message: OK} | 84 | status: {code: 200, message: OK} |
@@ -99,9 +96,8 @@ interactions: | |||
99 | response: | 96 | response: |
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}'} | 97 | 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: | 98 | headers: |
102 | Cache-Control: ['max-age=0, private, must-revalidate'] | 99 | Cache-Control: ['no-cache, no-store'] |
103 | Content-Type: [application/json; charset=utf-8] | 100 | Content-Type: [application/json; charset=utf-8] |
104 | ETag: [W/"79bae29344ba15b6f812d308f590e5a9"] | ||
105 | Referrer-Policy: [strict-origin-when-cross-origin] | 101 | Referrer-Policy: [strict-origin-when-cross-origin] |
106 | Transfer-Encoding: [chunked] | 102 | Transfer-Encoding: [chunked] |
107 | Vary: ['Accept-Encoding, Origin'] | 103 | Vary: ['Accept-Encoding, Origin'] |
@@ -109,8 +105,8 @@ interactions: | |||
109 | X-Download-Options: [noopen] | 105 | X-Download-Options: [noopen] |
110 | X-Frame-Options: [SAMEORIGIN] | 106 | X-Frame-Options: [SAMEORIGIN] |
111 | X-Permitted-Cross-Domain-Policies: [none] | 107 | X-Permitted-Cross-Domain-Policies: [none] |
112 | X-Request-Id: [658c236e-2809-4829-8ade-a22945a1d680] | 108 | X-Request-Id: [360fe7ec-c80c-4a8a-8828-328e19f585df] |
113 | X-Runtime: ['0.103426'] | 109 | X-Runtime: ['0.054637'] |
114 | X-XSS-Protection: [1; mode=block] | 110 | X-XSS-Protection: [1; mode=block] |
115 | content-length: ['211'] | 111 | content-length: ['211'] |
116 | status: {code: 200, message: OK} | 112 | status: {code: 200, message: OK} |
@@ -127,9 +123,8 @@ interactions: | |||
127 | response: | 123 | response: |
128 | body: {string: '[]'} | 124 | body: {string: '[]'} |
129 | headers: | 125 | headers: |
130 | Cache-Control: ['max-age=0, private, must-revalidate'] | 126 | Cache-Control: ['no-cache, no-store'] |
131 | Content-Type: [application/json; charset=utf-8] | 127 | Content-Type: [application/json; charset=utf-8] |
132 | ETag: [W/"fa588177d9a0b1be8cc336136201d000"] | ||
133 | Referrer-Policy: [strict-origin-when-cross-origin] | 128 | Referrer-Policy: [strict-origin-when-cross-origin] |
134 | Transfer-Encoding: [chunked] | 129 | Transfer-Encoding: [chunked] |
135 | Vary: ['Accept-Encoding, Origin'] | 130 | Vary: ['Accept-Encoding, Origin'] |
@@ -137,8 +132,8 @@ interactions: | |||
137 | X-Download-Options: [noopen] | 132 | X-Download-Options: [noopen] |
138 | X-Frame-Options: [SAMEORIGIN] | 133 | X-Frame-Options: [SAMEORIGIN] |
139 | X-Permitted-Cross-Domain-Policies: [none] | 134 | X-Permitted-Cross-Domain-Policies: [none] |
140 | X-Request-Id: [52d8a685-fc56-4e10-a77a-5f4e2768d857] | 135 | X-Request-Id: [869fb9e9-a984-4a15-9d8b-c08a8cc01d01] |
141 | X-Runtime: ['0.018944'] | 136 | X-Runtime: ['0.026921'] |
142 | X-XSS-Protection: [1; mode=block] | 137 | X-XSS-Protection: [1; mode=block] |
143 | content-length: ['2'] | 138 | content-length: ['2'] |
144 | status: {code: 200, message: OK} | 139 | status: {code: 200, message: OK} |
@@ -153,11 +148,10 @@ interactions: | |||
153 | method: GET | 148 | method: GET |
154 | 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 |
155 | response: | 150 | response: |
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":[]}]'} | 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":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'} |
157 | headers: | 152 | headers: |
158 | Cache-Control: ['max-age=0, private, must-revalidate'] | 153 | Cache-Control: ['no-cache, no-store'] |
159 | Content-Type: [application/json; charset=utf-8] | 154 | Content-Type: [application/json; charset=utf-8] |
160 | ETag: [W/"52eb1952ed63f9fab4be6691ba735fbe"] | ||
161 | Referrer-Policy: [strict-origin-when-cross-origin] | 155 | Referrer-Policy: [strict-origin-when-cross-origin] |
162 | Transfer-Encoding: [chunked] | 156 | Transfer-Encoding: [chunked] |
163 | Vary: ['Accept-Encoding, Origin'] | 157 | Vary: ['Accept-Encoding, Origin'] |
@@ -165,8 +159,8 @@ interactions: | |||
165 | X-Download-Options: [noopen] | 159 | X-Download-Options: [noopen] |
166 | X-Frame-Options: [SAMEORIGIN] | 160 | X-Frame-Options: [SAMEORIGIN] |
167 | X-Permitted-Cross-Domain-Policies: [none] | 161 | X-Permitted-Cross-Domain-Policies: [none] |
168 | X-Request-Id: [a23dd013-8bbc-4d08-a928-4168f4eae71e] | 162 | X-Request-Id: [46c04f06-a24f-4a66-a618-cb8a601b39c8] |
169 | X-Runtime: ['0.020617'] | 163 | X-Runtime: ['0.022187'] |
170 | X-XSS-Protection: [1; mode=block] | 164 | X-XSS-Protection: [1; mode=block] |
171 | content-length: ['525'] | 165 | content-length: ['525'] |
172 | status: {code: 200, message: OK} | 166 | status: {code: 200, message: OK} |