Another attempt at test fixing. Unsure what is up.

This commit is contained in:
Lorenz Diener 2019-04-28 20:47:22 +02:00
parent 20a640eb7e
commit 9c79715fbd

View file

@ -12,12 +12,12 @@ interactions:
method: POST
uri: http://localhost:3000/api/v1/statuses
response:
body: {string: '{"id":"19","scheduled_at":"4000-01-01T11:33:14.000Z","params":{"text":"please
body: {string: '{"id":"20","scheduled_at":"4000-01-01T11:33:14.000Z","params":{"text":"please
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":[]}'}
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
ETag: [W/"869b974553c558251472c898ce2b4b30"]
ETag: [W/"be361ce0e4f158cb391faf2ebae37c27"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
@ -25,8 +25,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [268bf716-1ca5-4e0a-a1bf-9c06b23b0c6f]
X-Runtime: ['0.064617']
X-Request-Id: [c0db13da-629d-4da2-a169-8fa198881171]
X-Runtime: ['0.055765']
X-XSS-Protection: [1; mode=block]
content-length: ['307']
status: {code: 200, message: OK}
@ -41,14 +41,14 @@ interactions:
Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.18.4]
method: PUT
uri: http://localhost:3000/api/v1/scheduled_statuses/19
uri: http://localhost:3000/api/v1/scheduled_statuses/20
response:
body: {string: '{"id":"19","scheduled_at":"4000-01-01T11:23:14.000Z","params":{"poll":null,"text":"please
body: {string: '{"id":"20","scheduled_at":"4000-01-01T11:23:14.000Z","params":{"poll":null,"text":"please
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":[]}'}
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
ETag: [W/"d0254474867b88e60e2a7d1754ab928c"]
ETag: [W/"4d5e61fd2fbc19a61c0a227cf37b0a38"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
@ -56,8 +56,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [dcd95b0e-7116-454a-9ba4-122de3a6913e]
X-Runtime: ['0.047892']
X-Request-Id: [5a64d427-0b38-44ee-b7c1-93b488cc9b1a]
X-Runtime: ['0.024226']
X-XSS-Protection: [1; mode=block]
content-length: ['307']
status: {code: 200, message: OK}
@ -72,13 +72,13 @@ interactions:
method: GET
uri: http://localhost:3000/api/v1/scheduled_statuses
response:
body: {string: '[{"id":"19","scheduled_at":"4000-01-01T11:23:14.000Z","params":{"poll":null,"text":"please
body: {string: '[{"id":"20","scheduled_at":"4000-01-01T11:23:14.000Z","params":{"poll":null,"text":"please
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":[]}]'}
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
ETag: [W/"f942fa659c7f711edf601fd02eb28f2f"]
Link: ['<http://localhost:3000/api/v1/scheduled_statuses?min_id=19>; rel="prev"']
ETag: [W/"d917e1a8c871328a3c6b4e031a1e6134"]
Link: ['<http://localhost:3000/api/v1/scheduled_statuses?min_id=20>; rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
@ -86,8 +86,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [97962c99-e4a1-4bd2-849d-51f48544c67c]
X-Runtime: ['0.022832']
X-Request-Id: [2f49987e-3261-4cb7-a8f4-5254e869b163]
X-Runtime: ['0.018487']
X-XSS-Protection: [1; mode=block]
content-length: ['309']
status: {code: 200, message: OK}
@ -100,14 +100,14 @@ interactions:
Connection: [keep-alive]
User-Agent: [python-requests/2.18.4]
method: GET
uri: http://localhost:3000/api/v1/scheduled_statuses/19
uri: http://localhost:3000/api/v1/scheduled_statuses/20
response:
body: {string: '{"id":"19","scheduled_at":"4000-01-01T11:23:14.000Z","params":{"poll":null,"text":"please
body: {string: '{"id":"20","scheduled_at":"4000-01-01T11:23:14.000Z","params":{"poll":null,"text":"please
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":[]}'}
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
ETag: [W/"d0254474867b88e60e2a7d1754ab928c"]
ETag: [W/"4d5e61fd2fbc19a61c0a227cf37b0a38"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
@ -115,8 +115,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [f95378c9-b0c8-4c93-bf1e-f993db396b98]
X-Runtime: ['0.030762']
X-Request-Id: [09b621ce-cd75-44b3-8dd6-4ab911631ab8]
X-Runtime: ['0.016953']
X-XSS-Protection: [1; mode=block]
content-length: ['307']
status: {code: 200, message: OK}
@ -130,13 +130,13 @@ interactions:
Content-Length: ['0']
User-Agent: [python-requests/2.18.4]
method: DELETE
uri: http://localhost:3000/api/v1/scheduled_statuses/19
uri: http://localhost:3000/api/v1/scheduled_statuses/20
response:
body: {string: '{}'}
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
ETag: [W/"0990eb85ee6e415913216239571d30e5"]
ETag: [W/"76b6207dfee28b6931260e1ad1453da4"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
@ -144,8 +144,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [ed7c8df2-5a65-474e-81ec-9f4ef3f50b3d]
X-Runtime: ['0.028344']
X-Request-Id: [9addca1e-72fb-4fc8-8ffa-2748a2f2471c]
X-Runtime: ['0.026415']
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}
@ -164,7 +164,7 @@ interactions:
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
ETag: [W/"cc6e706f1723e565ab0b83aab7be53aa"]
ETag: [W/"232a7ade8744af454b200165b5597257"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
@ -172,8 +172,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [6d71010e-5cc0-4029-a19b-67cac6b8f5bc]
X-Runtime: ['0.017476']
X-Request-Id: [b9117b47-72f4-4db4-824f-e53c4507555f]
X-Runtime: ['0.014710']
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}