diff options
author | Aljoscha Rittner <[email protected]> | 2022-06-16 14:52:15 +0200 |
---|---|---|
committer | Aljoscha Rittner <[email protected]> | 2022-06-16 14:52:15 +0200 |
commit | 19dbb4594ec4fe47c3e9704c8b9365e3834764c2 (patch) | |
tree | 71de0276b71990eb45e15bca46eacf32ba97e403 /tests/cassettes | |
parent | e9d2c3d53f7b1d371e5dc5bf47e5fe335b698c85 (diff) | |
download | mastodon.py-19dbb4594ec4fe47c3e9704c8b9365e3834764c2.tar.gz |
Changes the storage for pagination information
fixes #232
Diffstat (limited to 'tests/cassettes')
-rw-r--r-- | tests/cassettes/test_domain_blocks.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/cassettes/test_domain_blocks.yaml b/tests/cassettes/test_domain_blocks.yaml index 8889bb1..041541e 100644 --- a/tests/cassettes/test_domain_blocks.yaml +++ b/tests/cassettes/test_domain_blocks.yaml | |||
@@ -10,10 +10,13 @@ interactions: | |||
10 | method: GET | 10 | method: GET |
11 | uri: http://localhost:3000/api/v1/domain_blocks | 11 | uri: http://localhost:3000/api/v1/domain_blocks |
12 | response: | 12 | response: |
13 | body: {string: '[]'} | 13 | body: {string: '["example.com"]'} |
14 | headers: | 14 | headers: |
15 | Cache-Control: ['no-cache, no-store'] | 15 | Cache-Control: ['no-cache, no-store'] |
16 | Content-Type: [application/json; charset=utf-8] | 16 | Content-Type: [application/json; charset=utf-8] |
17 | Link: ['<http://localhost:3000/api/v1/domain_blocks?max_id=10023>; | ||
18 | rel="next", <http://localhost:3000/api/v1/domain_blocks?min_id=10021>; | ||
19 | rel="prev"'] | ||
17 | Referrer-Policy: [strict-origin-when-cross-origin] | 20 | Referrer-Policy: [strict-origin-when-cross-origin] |
18 | Transfer-Encoding: [chunked] | 21 | Transfer-Encoding: [chunked] |
19 | Vary: ['Accept-Encoding, Origin'] | 22 | Vary: ['Accept-Encoding, Origin'] |
@@ -24,6 +27,6 @@ interactions: | |||
24 | X-Request-Id: [79ec8c37-a374-47e4-a698-a8b8511ca20f] | 27 | X-Request-Id: [79ec8c37-a374-47e4-a698-a8b8511ca20f] |
25 | X-Runtime: ['0.098492'] | 28 | X-Runtime: ['0.098492'] |
26 | X-XSS-Protection: [1; mode=block] | 29 | X-XSS-Protection: [1; mode=block] |
27 | content-length: ['2'] | 30 | content-length: ['15'] |
28 | status: {code: 200, message: OK} | 31 | status: {code: 200, message: OK} |
29 | version: 1 | 32 | version: 1 |