aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_scheduled_status.yaml')
-rw-r--r--tests/cassettes/test_scheduled_status.yaml66
1 files changed, 30 insertions, 36 deletions
diff --git a/tests/cassettes/test_scheduled_status.yaml b/tests/cassettes/test_scheduled_status.yaml
index 53bc397..3963165 100644
--- a/tests/cassettes/test_scheduled_status.yaml
+++ b/tests/cassettes/test_scheduled_status.yaml
@@ -12,12 +12,11 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"22","scheduled_at":"4000-01-01T14:33:14.000Z","params":{"text":"please 15 body: {string: '{"id":"1","scheduled_at":"4000-01-01T14:33:14.000Z","params":{"text":"please
16 ensure adequate headroom","media_ids":null,"sensitive":null,"spoiler_text":null,"visibility":null,"scheduled_at":null,"poll":null,"idempotency":null,"in_reply_to_id":null,"application_id":1234567890123456},"media_attachments":[]}'} 16 ensure adequate headroom","media_ids":null,"sensitive":null,"spoiler_text":null,"visibility":null,"scheduled_at":null,"poll":null,"idempotency":null,"in_reply_to_id":null,"application_id":1234567890123456},"media_attachments":[]}'}
17 headers: 17 headers:
18 Cache-Control: ['max-age=0, private, must-revalidate'] 18 Cache-Control: ['no-cache, no-store']
19 Content-Type: [application/json; charset=utf-8] 19 Content-Type: [application/json; charset=utf-8]
20 ETag: [W/"431356517ac1801e2d1509f1a573b8fb"]
21 Referrer-Policy: [strict-origin-when-cross-origin] 20 Referrer-Policy: [strict-origin-when-cross-origin]
22 Transfer-Encoding: [chunked] 21 Transfer-Encoding: [chunked]
23 Vary: ['Accept-Encoding, Origin'] 22 Vary: ['Accept-Encoding, Origin']
@@ -25,10 +24,10 @@ interactions:
25 X-Download-Options: [noopen] 24 X-Download-Options: [noopen]
26 X-Frame-Options: [SAMEORIGIN] 25 X-Frame-Options: [SAMEORIGIN]
27 X-Permitted-Cross-Domain-Policies: [none] 26 X-Permitted-Cross-Domain-Policies: [none]
28 X-Request-Id: [3dd7a195-fb64-468f-8bb0-a8c82c6ba5c4] 27 X-Request-Id: [9687c41c-1b26-49b1-9b92-bf01cf03eece]
29 X-Runtime: ['0.057517'] 28 X-Runtime: ['0.062004']
30 X-XSS-Protection: [1; mode=block] 29 X-XSS-Protection: [1; mode=block]
31 content-length: ['307'] 30 content-length: ['306']
32 status: {code: 200, message: OK} 31 status: {code: 200, message: OK}
33- request: 32- request:
34 body: scheduled_at=4000-01-01T14%3A23%3A14%2B00%3A00 33 body: scheduled_at=4000-01-01T14%3A23%3A14%2B00%3A00
@@ -41,14 +40,13 @@ interactions:
41 Content-Type: [application/x-www-form-urlencoded] 40 Content-Type: [application/x-www-form-urlencoded]
42 User-Agent: [python-requests/2.18.4] 41 User-Agent: [python-requests/2.18.4]
43 method: PUT 42 method: PUT
44 uri: http://localhost:3000/api/v1/scheduled_statuses/22 43 uri: http://localhost:3000/api/v1/scheduled_statuses/1
45 response: 44 response:
46 body: {string: '{"id":"22","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please 45 body: {string: '{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please
47 ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}'} 46 ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}'}
48 headers: 47 headers:
49 Cache-Control: ['max-age=0, private, must-revalidate'] 48 Cache-Control: ['no-cache, no-store']
50 Content-Type: [application/json; charset=utf-8] 49 Content-Type: [application/json; charset=utf-8]
51 ETag: [W/"9f9235f1c4979c255c414e2899ef61da"]
52 Referrer-Policy: [strict-origin-when-cross-origin] 50 Referrer-Policy: [strict-origin-when-cross-origin]
53 Transfer-Encoding: [chunked] 51 Transfer-Encoding: [chunked]
54 Vary: ['Accept-Encoding, Origin'] 52 Vary: ['Accept-Encoding, Origin']
@@ -56,10 +54,10 @@ interactions:
56 X-Download-Options: [noopen] 54 X-Download-Options: [noopen]
57 X-Frame-Options: [SAMEORIGIN] 55 X-Frame-Options: [SAMEORIGIN]
58 X-Permitted-Cross-Domain-Policies: [none] 56 X-Permitted-Cross-Domain-Policies: [none]
59 X-Request-Id: [49e8a1d5-8fa9-4d99-968a-52151dc3e7b1] 57 X-Request-Id: [13564f2c-9377-4bd8-ba34-31e131fde7fc]
60 X-Runtime: ['0.024146'] 58 X-Runtime: ['0.032800']
61 X-XSS-Protection: [1; mode=block] 59 X-XSS-Protection: [1; mode=block]
62 content-length: ['307'] 60 content-length: ['306']
63 status: {code: 200, message: OK} 61 status: {code: 200, message: OK}
64- request: 62- request:
65 body: null 63 body: null
@@ -72,13 +70,12 @@ interactions:
72 method: GET 70 method: GET
73 uri: http://localhost:3000/api/v1/scheduled_statuses 71 uri: http://localhost:3000/api/v1/scheduled_statuses
74 response: 72 response:
75 body: {string: '[{"id":"22","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please 73 body: {string: '[{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please
76 ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}]'} 74 ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}]'}
77 headers: 75 headers:
78 Cache-Control: ['max-age=0, private, must-revalidate'] 76 Cache-Control: ['no-cache, no-store']
79 Content-Type: [application/json; charset=utf-8] 77 Content-Type: [application/json; charset=utf-8]
80 ETag: [W/"7049b476e76f735f8a9cbafa4379451a"] 78 Link: ['<http://localhost:3000/api/v1/scheduled_statuses?min_id=1>; rel="prev"']
81 Link: ['<http://localhost:3000/api/v1/scheduled_statuses?min_id=22>; rel="prev"']
82 Referrer-Policy: [strict-origin-when-cross-origin] 79 Referrer-Policy: [strict-origin-when-cross-origin]
83 Transfer-Encoding: [chunked] 80 Transfer-Encoding: [chunked]
84 Vary: ['Accept-Encoding, Origin'] 81 Vary: ['Accept-Encoding, Origin']
@@ -86,10 +83,10 @@ interactions:
86 X-Download-Options: [noopen] 83 X-Download-Options: [noopen]
87 X-Frame-Options: [SAMEORIGIN] 84 X-Frame-Options: [SAMEORIGIN]
88 X-Permitted-Cross-Domain-Policies: [none] 85 X-Permitted-Cross-Domain-Policies: [none]
89 X-Request-Id: [f05135d0-6a73-4520-968b-f206cc892935] 86 X-Request-Id: [175575fa-0de6-4d36-8a1a-a2f37c76646d]
90 X-Runtime: ['0.017669'] 87 X-Runtime: ['0.019602']
91 X-XSS-Protection: [1; mode=block] 88 X-XSS-Protection: [1; mode=block]
92 content-length: ['309'] 89 content-length: ['308']
93 status: {code: 200, message: OK} 90 status: {code: 200, message: OK}
94- request: 91- request:
95 body: null 92 body: null
@@ -100,14 +97,13 @@ interactions:
100 Connection: [keep-alive] 97 Connection: [keep-alive]
101 User-Agent: [python-requests/2.18.4] 98 User-Agent: [python-requests/2.18.4]
102 method: GET 99 method: GET
103 uri: http://localhost:3000/api/v1/scheduled_statuses/22 100 uri: http://localhost:3000/api/v1/scheduled_statuses/1
104 response: 101 response:
105 body: {string: '{"id":"22","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please 102 body: {string: '{"id":"1","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please
106 ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}'} 103 ensure adequate headroom","media_ids":null,"sensitive":null,"visibility":null,"idempotency":null,"scheduled_at":null,"spoiler_text":null,"application_id":1234567890123456,"in_reply_to_id":null},"media_attachments":[]}'}
107 headers: 104 headers:
108 Cache-Control: ['max-age=0, private, must-revalidate'] 105 Cache-Control: ['no-cache, no-store']
109 Content-Type: [application/json; charset=utf-8] 106 Content-Type: [application/json; charset=utf-8]
110 ETag: [W/"9f9235f1c4979c255c414e2899ef61da"]
111 Referrer-Policy: [strict-origin-when-cross-origin] 107 Referrer-Policy: [strict-origin-when-cross-origin]
112 Transfer-Encoding: [chunked] 108 Transfer-Encoding: [chunked]
113 Vary: ['Accept-Encoding, Origin'] 109 Vary: ['Accept-Encoding, Origin']
@@ -115,10 +111,10 @@ interactions:
115 X-Download-Options: [noopen] 111 X-Download-Options: [noopen]
116 X-Frame-Options: [SAMEORIGIN] 112 X-Frame-Options: [SAMEORIGIN]
117 X-Permitted-Cross-Domain-Policies: [none] 113 X-Permitted-Cross-Domain-Policies: [none]
118 X-Request-Id: [fc7a55bd-b43b-4df4-bd07-f69b8709557b] 114 X-Request-Id: [f50d4b55-c0a6-46f1-adc8-b143fe2d16ee]
119 X-Runtime: ['0.017029'] 115 X-Runtime: ['0.018354']
120 X-XSS-Protection: [1; mode=block] 116 X-XSS-Protection: [1; mode=block]
121 content-length: ['307'] 117 content-length: ['306']
122 status: {code: 200, message: OK} 118 status: {code: 200, message: OK}
123- request: 119- request:
124 body: null 120 body: null
@@ -130,13 +126,12 @@ interactions:
130 Content-Length: ['0'] 126 Content-Length: ['0']
131 User-Agent: [python-requests/2.18.4] 127 User-Agent: [python-requests/2.18.4]
132 method: DELETE 128 method: DELETE
133 uri: http://localhost:3000/api/v1/scheduled_statuses/22 129 uri: http://localhost:3000/api/v1/scheduled_statuses/1
134 response: 130 response:
135 body: {string: '{}'} 131 body: {string: '{}'}
136 headers: 132 headers:
137 Cache-Control: ['max-age=0, private, must-revalidate'] 133 Cache-Control: ['no-cache, no-store']
138 Content-Type: [application/json; charset=utf-8] 134 Content-Type: [application/json; charset=utf-8]
139 ETag: [W/"b9de64b821db05245efe4f96c8b026b9"]
140 Referrer-Policy: [strict-origin-when-cross-origin] 135 Referrer-Policy: [strict-origin-when-cross-origin]
141 Transfer-Encoding: [chunked] 136 Transfer-Encoding: [chunked]
142 Vary: ['Accept-Encoding, Origin'] 137 Vary: ['Accept-Encoding, Origin']
@@ -144,8 +139,8 @@ interactions:
144 X-Download-Options: [noopen] 139 X-Download-Options: [noopen]
145 X-Frame-Options: [SAMEORIGIN] 140 X-Frame-Options: [SAMEORIGIN]
146 X-Permitted-Cross-Domain-Policies: [none] 141 X-Permitted-Cross-Domain-Policies: [none]
147 X-Request-Id: [c4f909ec-b77f-4d78-8402-9fd101d0b475] 142 X-Request-Id: [b2c3cb6e-afbe-46d3-8647-ac4d0f5d746f]
148 X-Runtime: ['0.037066'] 143 X-Runtime: ['0.067970']
149 X-XSS-Protection: [1; mode=block] 144 X-XSS-Protection: [1; mode=block]
150 content-length: ['2'] 145 content-length: ['2']
151 status: {code: 200, message: OK} 146 status: {code: 200, message: OK}
@@ -162,9 +157,8 @@ interactions:
162 response: 157 response:
163 body: {string: '[]'} 158 body: {string: '[]'}
164 headers: 159 headers:
165 Cache-Control: ['max-age=0, private, must-revalidate'] 160 Cache-Control: ['no-cache, no-store']
166 Content-Type: [application/json; charset=utf-8] 161 Content-Type: [application/json; charset=utf-8]
167 ETag: [W/"6bb634643e4bac058e18a20692823c5f"]
168 Referrer-Policy: [strict-origin-when-cross-origin] 162 Referrer-Policy: [strict-origin-when-cross-origin]
169 Transfer-Encoding: [chunked] 163 Transfer-Encoding: [chunked]
170 Vary: ['Accept-Encoding, Origin'] 164 Vary: ['Accept-Encoding, Origin']
@@ -172,8 +166,8 @@ interactions:
172 X-Download-Options: [noopen] 166 X-Download-Options: [noopen]
173 X-Frame-Options: [SAMEORIGIN] 167 X-Frame-Options: [SAMEORIGIN]
174 X-Permitted-Cross-Domain-Policies: [none] 168 X-Permitted-Cross-Domain-Policies: [none]
175 X-Request-Id: [f672f2a0-5d54-4a11-9187-8e9763c337cf] 169 X-Request-Id: [5972b817-f365-43ba-a0c5-3931c665ce1a]
176 X-Runtime: ['0.018850'] 170 X-Runtime: ['0.018815']
177 X-XSS-Protection: [1; mode=block] 171 X-XSS-Protection: [1; mode=block]
178 content-length: ['2'] 172 content-length: ['2']
179 status: {code: 200, message: OK} 173 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)