From 4f90728a4a8c98f3ee7e9aab5a05f93c152a375d Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Sat, 22 Feb 2020 20:31:33 +0100 Subject: Fix tests for 3.1.1 --- tests/cassettes/test_scheduled_status.yaml | 40 +++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'tests/cassettes/test_scheduled_status.yaml') diff --git a/tests/cassettes/test_scheduled_status.yaml b/tests/cassettes/test_scheduled_status.yaml index c281b6b..fdc39c0 100644 --- a/tests/cassettes/test_scheduled_status.yaml +++ b/tests/cassettes/test_scheduled_status.yaml @@ -12,7 +12,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/statuses response: - body: {string: '{"id":"9","scheduled_at":"4000-01-01T14:33:14.000Z","params":{"text":"please + body: {string: '{"id":"1","scheduled_at":"4000-01-01T14: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: ['no-cache, no-store'] @@ -24,8 +24,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [3aabe7f3-e74c-4cc5-90b5-e27f424cf395] - X-Runtime: ['0.081529'] + X-Request-Id: [9c397b9f-d47e-405a-a55f-35456194859d] + X-Runtime: ['0.108901'] X-XSS-Protection: [1; mode=block] content-length: ['306'] status: {code: 200, message: OK} @@ -40,9 +40,9 @@ 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/9 + uri: http://localhost:3000/api/v1/scheduled_statuses/1 response: - body: {string: '{"id":"9","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please + body: {string: '{"id":"1","scheduled_at":"4000-01-01T14: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: ['no-cache, no-store'] @@ -54,8 +54,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [03a7570c-9da8-4eb2-977e-73a02ee5575c] - X-Runtime: ['0.026141'] + X-Request-Id: [9bf5fe79-6463-427d-96fa-b5fcac5b128f] + X-Runtime: ['0.065639'] X-XSS-Protection: [1; mode=block] content-length: ['306'] status: {code: 200, message: OK} @@ -70,12 +70,12 @@ interactions: method: GET uri: http://localhost:3000/api/v1/scheduled_statuses response: - body: {string: '[{"id":"9","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please + body: {string: '[{"id":"1","scheduled_at":"4000-01-01T14: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: ['no-cache, no-store'] Content-Type: [application/json; charset=utf-8] - Link: ['; rel="prev"'] + Link: ['; rel="prev"'] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] @@ -83,8 +83,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [c536304a-dfa1-488d-9c65-aad46334bc08] - X-Runtime: ['0.022226'] + X-Request-Id: [1a387347-798b-4398-b3de-74205536f0f6] + X-Runtime: ['0.042348'] X-XSS-Protection: [1; mode=block] content-length: ['308'] status: {code: 200, message: OK} @@ -97,9 +97,9 @@ interactions: Connection: [keep-alive] User-Agent: [python-requests/2.18.4] method: GET - uri: http://localhost:3000/api/v1/scheduled_statuses/9 + uri: http://localhost:3000/api/v1/scheduled_statuses/1 response: - body: {string: '{"id":"9","scheduled_at":"4000-01-01T14:23:14.000Z","params":{"poll":null,"text":"please + body: {string: '{"id":"1","scheduled_at":"4000-01-01T14: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: ['no-cache, no-store'] @@ -111,8 +111,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [9c2a0f01-724c-48da-9a16-635b48f882a2] - X-Runtime: ['0.019064'] + X-Request-Id: [17955ae7-2272-4367-96a5-9c3c26cb8dcc] + X-Runtime: ['0.038929'] X-XSS-Protection: [1; mode=block] content-length: ['306'] status: {code: 200, message: OK} @@ -126,7 +126,7 @@ interactions: Content-Length: ['0'] User-Agent: [python-requests/2.18.4] method: DELETE - uri: http://localhost:3000/api/v1/scheduled_statuses/9 + uri: http://localhost:3000/api/v1/scheduled_statuses/1 response: body: {string: '{}'} headers: @@ -139,8 +139,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [69bc3073-05c9-41d6-a948-d485cf5c59b5] - X-Runtime: ['0.026530'] + X-Request-Id: [25225334-3254-49b0-8029-56b97e5f7649] + X-Runtime: ['0.053724'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} @@ -166,8 +166,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [9b359a6f-35a0-40d9-9b70-4f6e65486898] - X-Runtime: ['0.016133'] + X-Request-Id: [f459b7a0-3fc3-4347-9509-876f78ee58ac] + X-Runtime: ['0.032097'] X-XSS-Protection: [1; mode=block] content-length: ['2'] status: {code: 200, message: OK} -- cgit v1.2.3