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_nodeinfo.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'tests/cassettes/test_nodeinfo.yaml') diff --git a/tests/cassettes/test_nodeinfo.yaml b/tests/cassettes/test_nodeinfo.yaml index d6c6b66..b4a418f 100644 --- a/tests/cassettes/test_nodeinfo.yaml +++ b/tests/cassettes/test_nodeinfo.yaml @@ -14,8 +14,8 @@ interactions: headers: Cache-Control: ['max-age=259200, public'] Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 12 Oct 2019 21:00:47 GMT'] - ETag: [W/"e01dd309b67221dc6bdb6e8fb8f1924d"] + Date: ['Sat, 22 Feb 2020 19:28:40 GMT'] + ETag: [W/"765ed8d65d8333f722ad1b021068b547"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept, Accept-Encoding, Origin'] @@ -23,8 +23,8 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [4788e0ee-6ccd-49d1-8b31-5f05c7ec6d2c] - X-Runtime: ['0.016716'] + X-Request-Id: [2857405a-9a6a-49aa-94ab-cb5331a15df2] + X-Runtime: ['0.048451'] X-XSS-Protection: [1; mode=block] content-length: ['108'] status: {code: 200, message: OK} @@ -44,7 +44,7 @@ interactions: headers: Connection: [keep-alive] Content-Type: [text/html] - Date: ['Sat, 12 Oct 2019 21:00:47 GMT'] + Date: ['Sat, 22 Feb 2020 19:28:40 GMT'] Server: [nginx/1.14.0 (Ubuntu)] Transfer-Encoding: [chunked] content-length: ['178'] @@ -60,12 +60,12 @@ interactions: method: GET uri: http://localhost:3000/nodeinfo/2.0 response: - body: {string: '{"version":"2.0","software":{"name":"mastodon","version":"3.0.1"},"protocols":["activitypub"],"usage":{"users":{"total":3,"activeMonth":3,"activeHalfyear":3},"localPosts":31},"openRegistrations":true}'} + body: {string: '{"version":"2.0","software":{"name":"mastodon","version":"3.1.1"},"protocols":["activitypub"],"usage":{"users":{"total":3,"activeMonth":3,"activeHalfyear":3},"localPosts":1},"openRegistrations":true}'} headers: Cache-Control: ['max-age=1800, public'] Content-Type: [application/json; charset=utf-8] - Date: ['Sat, 12 Oct 2019 21:00:47 GMT'] - ETag: [W/"0d3e66413dc2cb33c37a2cac30bdf2d9"] + Date: ['Sat, 22 Feb 2020 19:28:41 GMT'] + ETag: [W/"dce5048b9050141b18d1d3fda5194615"] Referrer-Policy: [strict-origin-when-cross-origin] Transfer-Encoding: [chunked] Vary: ['Accept,Accept-Encoding'] @@ -73,9 +73,9 @@ interactions: X-Download-Options: [noopen] X-Frame-Options: [SAMEORIGIN] X-Permitted-Cross-Domain-Policies: [none] - X-Request-Id: [1331dcd9-74f3-41f1-bd6a-cd30a5085f2a] - X-Runtime: ['0.023727'] + X-Request-Id: [a8211f49-3b92-412c-927a-a16d31c55a3d] + X-Runtime: ['0.039172'] X-XSS-Protection: [1; mode=block] - content-length: ['200'] + content-length: ['199'] status: {code: 200, message: OK} version: 1 -- cgit v1.2.3