aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_id_hook.yaml')
-rw-r--r--tests/cassettes/test_id_hook.yaml36
1 files changed, 18 insertions, 18 deletions
diff --git a/tests/cassettes/test_id_hook.yaml b/tests/cassettes/test_id_hook.yaml
index 3397477..724d76c 100644
--- a/tests/cassettes/test_id_hook.yaml
+++ b/tests/cassettes/test_id_hook.yaml
@@ -20,17 +20,17 @@ interactions:
20 uri: http://localhost:3000/api/v1/statuses 20 uri: http://localhost:3000/api/v1/statuses
21 response: 21 response:
22 body: 22 body:
23 string: '{"id":"109304275438224356","created_at":"2022-11-07T19:54:42.542Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109304275438224356","url":"http://localhost:3000/@mastodonpy_test/109304275438224356","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py 23 string: '{"id":"109336677544503948","created_at":"2022-11-13T13:14:59.447Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336677544503948","url":"http://localhost:3000/@mastodonpy_test/109336677544503948","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
24 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 24 test suite","website":null},"account":{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
25 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI 25 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI
26 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":1,"statuses_count":1,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' 26 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
27 headers: 27 headers:
28 Cache-Control: 28 Cache-Control:
29 - no-store 29 - no-store
30 Content-Security-Policy: 30 Content-Security-Policy:
31 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 31 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
32 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 32 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
33 style-src ''self'' http://localhost:3000 ''nonce-V1DO7nEICuuxmu4FVE/zzQ==''; 33 style-src ''self'' http://localhost:3000 ''nonce-GUkzd5xaytWWP+Bgx11otw=='';
34 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 34 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
35 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 35 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
36 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 36 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -40,7 +40,7 @@ interactions:
40 Content-Type: 40 Content-Type:
41 - application/json; charset=utf-8 41 - application/json; charset=utf-8
42 ETag: 42 ETag:
43 - W/"376bc2c662e03fdefc662cca65e246c0" 43 - W/"2f8392e9eec6428f227dfb94d71ed316"
44 Referrer-Policy: 44 Referrer-Policy:
45 - strict-origin-when-cross-origin 45 - strict-origin-when-cross-origin
46 Transfer-Encoding: 46 Transfer-Encoding:
@@ -60,11 +60,11 @@ interactions:
60 X-RateLimit-Remaining: 60 X-RateLimit-Remaining:
61 - '293' 61 - '293'
62 X-RateLimit-Reset: 62 X-RateLimit-Reset:
63 - '2022-11-07T21:00:00.570896Z' 63 - '2022-11-13T15:00:00.467178Z'
64 X-Request-Id: 64 X-Request-Id:
65 - 3bc11b9b-3396-4c47-85f3-49835901d93b 65 - 0fb020af-145f-4af6-bb0b-81bf93ab04f9
66 X-Runtime: 66 X-Runtime:
67 - '0.040502' 67 - '0.032443'
68 X-XSS-Protection: 68 X-XSS-Protection:
69 - 1; mode=block 69 - 1; mode=block
70 status: 70 status:
@@ -86,20 +86,20 @@ interactions:
86 User-Agent: 86 User-Agent:
87 - tests/v311 87 - tests/v311
88 method: DELETE 88 method: DELETE
89 uri: http://localhost:3000/api/v1/statuses/109304275438224356 89 uri: http://localhost:3000/api/v1/statuses/109336677544503948
90 response: 90 response:
91 body: 91 body:
92 string: '{"id":"109304275438224356","created_at":"2022-11-07T19:54:42.542Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109304275438224356","url":"http://localhost:3000/@mastodonpy_test/109304275438224356","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py 92 string: '{"id":"109336677544503948","created_at":"2022-11-13T13:14:59.447Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109336677544503948","url":"http://localhost:3000/@mastodonpy_test/109336677544503948","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"Toot!","filtered":[],"reblog":null,"application":{"name":"Mastodon.py
93 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 93 test suite","website":null},"account":{"id":"109336623311102204","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
94 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-07T00:00:00.000Z","note":"\u003cp\u003eI 94 Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI
95 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/2d5ad2a2a4ca9e32.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/51bc27ef4d67326e.jpg","followers_count":0,"following_count":1,"statuses_count":0,"last_status_at":"2022-11-07","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' 95 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/336/623/311/102/204/original/8f758332953652da.jpg","header":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/336/623/311/102/204/original/c7470bf076df1e55.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'
96 headers: 96 headers:
97 Cache-Control: 97 Cache-Control:
98 - no-store 98 - no-store
99 Content-Security-Policy: 99 Content-Security-Policy:
100 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src 100 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
101 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; 101 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
102 style-src ''self'' http://localhost:3000 ''nonce-gR8BcF3Gb3nOBy3Ijtey1w==''; 102 style-src ''self'' http://localhost:3000 ''nonce-5NPAtUpELUQxDJgpQkQuRA=='';
103 media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' 103 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
104 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' 104 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
105 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 105 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
@@ -109,7 +109,7 @@ interactions:
109 Content-Type: 109 Content-Type:
110 - application/json; charset=utf-8 110 - application/json; charset=utf-8
111 ETag: 111 ETag:
112 - W/"e786e3a509854b13a3fa121a77cb221e" 112 - W/"2b5233c087f0b52074116214defb67a0"
113 Referrer-Policy: 113 Referrer-Policy:
114 - strict-origin-when-cross-origin 114 - strict-origin-when-cross-origin
115 Transfer-Encoding: 115 Transfer-Encoding:
@@ -125,9 +125,9 @@ interactions:
125 X-Permitted-Cross-Domain-Policies: 125 X-Permitted-Cross-Domain-Policies:
126 - none 126 - none
127 X-Request-Id: 127 X-Request-Id:
128 - 877d821b-c7d8-446f-ad77-63e8436469ef 128 - cb5edcbe-83fe-4808-a148-d19fcae18eb5
129 X-Runtime: 129 X-Runtime:
130 - '0.023825' 130 - '0.023486'
131 X-XSS-Protection: 131 X-XSS-Protection:
132 - 1; mode=block 132 - 1; mode=block
133 status: 133 status:
Powered by cgit v1.2.3 (git 2.41.0)