From 8d5fe70c7e52656b2f89d0acfb1aed23bf583041 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Mon, 7 May 2018 00:53:13 +0200 Subject: Fix some bugs, update tests --- tests/cassettes/test_account_followers.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'tests/cassettes/test_account_followers.yaml') diff --git a/tests/cassettes/test_account_followers.yaml b/tests/cassettes/test_account_followers.yaml index 5145b9b..dfc15d3 100644 --- a/tests/cassettes/test_account_followers.yaml +++ b/tests/cassettes/test_account_followers.yaml @@ -10,18 +10,21 @@ interactions: method: GET uri: http://localhost:3000/api/v1/accounts/1/followers response: - body: {string: '[]'} + body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John + Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI + walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":1}]'} headers: Cache-Control: ['max-age=0, private, must-revalidate'] Content-Type: [application/json; charset=utf-8] - ETag: [W/"d21cc31537780b09e689112cad9f33d5"] + ETag: [W/"38d22d88a801dd4cb986a0ddc6db518c"] + Link: ['; rel="prev"'] Transfer-Encoding: [chunked] Vary: ['Accept-Encoding, Origin'] X-Content-Type-Options: [nosniff] X-Frame-Options: [SAMEORIGIN] - X-Request-Id: [0aaca704-7d4c-4389-b849-668b9ef09029] - X-Runtime: ['0.046318'] + X-Request-Id: [85399a83-1d02-43d1-9dbd-610526c72a30] + X-Runtime: ['0.056902'] X-XSS-Protection: [1; mode=block] - content-length: ['2'] + content-length: ['769'] status: {code: 200, message: OK} version: 1 -- cgit v1.2.3