diff options
author | Lorenz Diener <[email protected]> | 2018-05-07 00:53:13 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2018-05-07 00:53:13 +0200 |
commit | 8d5fe70c7e52656b2f89d0acfb1aed23bf583041 (patch) | |
tree | a210ef1ba6255d8f64fdd623de41f0e6931c4508 /tests/cassettes/test_instance_activity.yaml | |
parent | c0a0c8f517611d0026d6d37fbe7c57eae1f1a3bb (diff) | |
download | mastodon.py-8d5fe70c7e52656b2f89d0acfb1aed23bf583041.tar.gz |
Fix some bugs, update tests
Diffstat (limited to 'tests/cassettes/test_instance_activity.yaml')
-rw-r--r-- | tests/cassettes/test_instance_activity.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/cassettes/test_instance_activity.yaml b/tests/cassettes/test_instance_activity.yaml index 95c1448..35ec03c 100644 --- a/tests/cassettes/test_instance_activity.yaml +++ b/tests/cassettes/test_instance_activity.yaml | |||
@@ -10,19 +10,19 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/instance/activity | 11 | uri: http://localhost:3000/api/v1/instance/activity |
12 | response: | 12 | response: |
13 | body: {string: '[{"week":"1525039200","statuses":"426","logins":"2","registrations":"0"},{"week":"1524434400","statuses":"0","logins":"0","registrations":"0"},{"week":"1523829600","statuses":"1514","logins":"2","registrations":"0"},{"week":"1523224800","statuses":"0","logins":"0","registrations":"0"},{"week":"1522620000","statuses":"0","logins":"0","registrations":"0"},{"week":"1522015200","statuses":"0","logins":"0","registrations":"0"},{"week":"1521414000","statuses":"0","logins":"0","registrations":"0"},{"week":"1520809200","statuses":"0","logins":"0","registrations":"0"},{"week":"1520204400","statuses":"0","logins":"0","registrations":"0"},{"week":"1519599600","statuses":"0","logins":"0","registrations":"0"},{"week":"1518994800","statuses":"0","logins":"0","registrations":"0"},{"week":"1518390000","statuses":"0","logins":"0","registrations":"0"}]'} | 13 | body: {string: '[{"week":"1525039200","statuses":"1742","logins":"2","registrations":"0"},{"week":"1524434400","statuses":"0","logins":"0","registrations":"0"},{"week":"1523829600","statuses":"1514","logins":"2","registrations":"0"},{"week":"1523224800","statuses":"0","logins":"0","registrations":"0"},{"week":"1522620000","statuses":"0","logins":"0","registrations":"0"},{"week":"1522015200","statuses":"0","logins":"0","registrations":"0"},{"week":"1521414000","statuses":"0","logins":"0","registrations":"0"},{"week":"1520809200","statuses":"0","logins":"0","registrations":"0"},{"week":"1520204400","statuses":"0","logins":"0","registrations":"0"},{"week":"1519599600","statuses":"0","logins":"0","registrations":"0"},{"week":"1518994800","statuses":"0","logins":"0","registrations":"0"},{"week":"1518390000","statuses":"0","logins":"0","registrations":"0"}]'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['max-age=86400, public'] | 15 | Cache-Control: ['max-age=86400, public'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
17 | Date: ['Sun, 06 May 2018 00:59:42 GMT'] | 17 | Date: ['Sun, 06 May 2018 22:42:07 GMT'] |
18 | ETag: [W/"037fcb5c82b3f22ea92222f40217b60e"] | 18 | ETag: [W/"76a2484e96c48d0ae5af28423fd23b92"] |
19 | Transfer-Encoding: [chunked] | 19 | Transfer-Encoding: [chunked] |
20 | Vary: ['Accept-Encoding, Origin'] | 20 | Vary: ['Accept-Encoding, Origin'] |
21 | X-Content-Type-Options: [nosniff] | 21 | X-Content-Type-Options: [nosniff] |
22 | X-Frame-Options: [SAMEORIGIN] | 22 | X-Frame-Options: [SAMEORIGIN] |
23 | X-Request-Id: [6fcdfbb3-f123-4d5d-80ee-f6e3edd0843f] | 23 | X-Request-Id: [5cd8928d-3419-43a3-b7e1-ec34b40b3f30] |
24 | X-Runtime: ['0.044204'] | 24 | X-Runtime: ['0.052399'] |
25 | X-XSS-Protection: [1; mode=block] | 25 | X-XSS-Protection: [1; mode=block] |
26 | content-length: ['846'] | 26 | content-length: ['847'] |
27 | status: {code: 200, message: OK} | 27 | status: {code: 200, message: OK} |
28 | version: 1 | 28 | version: 1 |