aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cassettes/test_app_account_create.yaml')
-rw-r--r--tests/cassettes/test_app_account_create.yaml44
1 files changed, 22 insertions, 22 deletions
diff --git a/tests/cassettes/test_app_account_create.yaml b/tests/cassettes/test_app_account_create.yaml
index e6eff1b..2b06840 100644
--- a/tests/cassettes/test_app_account_create.yaml
+++ b/tests/cassettes/test_app_account_create.yaml
@@ -11,7 +11,7 @@ interactions:
11 method: POST 11 method: POST
12 uri: http://localhost:3000/api/v1/apps 12 uri: http://localhost:3000/api/v1/apps
13 response: 13 response:
14 body: {string: '{"id":"2","name":"mastodon.py generated test app","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"xA0mMcOmeZ5Uftxw6MZ2KDLoEBTM0p1vKHeUXhiEOno","client_secret":"wSNQzlWZEQsDKfWEWXZ0ALj-9uv4zQ94u5UhQS-xASg","vapid_key":"BDoiaZnI8zQeheo5OzO3lDE5gn63dlzoaHrLTP7tctyKW-hj8yFIvIfWyCp8e-dT8kpJd9Ru7Sd-TTO2DXYgvwI="}'} 14 body: {string: '{"id":"9","name":"mastodon.py generated test app","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"8JNtbrDxmk5qfqv2XrD8VjxoB9yDAGWX-BHLUEZLi4A","client_secret":"8M1U9VJ0OJFijsI-CfSnh46jaqMYdw_RA7TkX8Q9xaQ","vapid_key":"BMimvNvIJnE4R13etr8xTuyqzJ41IjYCpSBH0LICimXu2yzRI8mDhMJzRYfKhoNrs0TMpvkaa5asJ7Dl6PorcZE="}'}
15 headers: 15 headers:
16 Cache-Control: ['no-cache, no-store'] 16 Cache-Control: ['no-cache, no-store']
17 Content-Type: [application/json; charset=utf-8] 17 Content-Type: [application/json; charset=utf-8]
@@ -22,8 +22,8 @@ interactions:
22 X-Download-Options: [noopen] 22 X-Download-Options: [noopen]
23 X-Frame-Options: [SAMEORIGIN] 23 X-Frame-Options: [SAMEORIGIN]
24 X-Permitted-Cross-Domain-Policies: [none] 24 X-Permitted-Cross-Domain-Policies: [none]
25 X-Request-Id: [a41339dc-18ff-4a71-b422-5fca1826da83] 25 X-Request-Id: [ff274a7b-ad41-4bcb-a680-0869d9375fde]
26 X-Runtime: ['0.035222'] 26 X-Runtime: ['0.026146']
27 X-XSS-Protection: [1; mode=block] 27 X-XSS-Protection: [1; mode=block]
28 content-length: ['331'] 28 content-length: ['331']
29 status: {code: 200, message: OK} 29 status: {code: 200, message: OK}
@@ -37,12 +37,12 @@ interactions:
37 method: GET 37 method: GET
38 uri: http://localhost:3000/api/v1/instance/ 38 uri: http://localhost:3000/api/v1/instance/
39 response: 39 response:
40 body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.9.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":0,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'} 40 body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.9.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":3,"status_count":16,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'}
41 headers: 41 headers:
42 Cache-Control: ['max-age=300, public'] 42 Cache-Control: ['max-age=300, public']
43 Content-Type: [application/json; charset=utf-8] 43 Content-Type: [application/json; charset=utf-8]
44 Date: ['Sat, 22 Jun 2019 13:02:57 GMT'] 44 Date: ['Sat, 22 Jun 2019 21:12:12 GMT']
45 ETag: [W/"e93399c77de2e714afcd550a34706e7e"] 45 ETag: [W/"78fbeabe9ecd4beafbc2259c901ebc50"]
46 Referrer-Policy: [strict-origin-when-cross-origin] 46 Referrer-Policy: [strict-origin-when-cross-origin]
47 Transfer-Encoding: [chunked] 47 Transfer-Encoding: [chunked]
48 Vary: ['Accept-Encoding, Origin'] 48 Vary: ['Accept-Encoding, Origin']
@@ -50,13 +50,13 @@ interactions:
50 X-Download-Options: [noopen] 50 X-Download-Options: [noopen]
51 X-Frame-Options: [SAMEORIGIN] 51 X-Frame-Options: [SAMEORIGIN]
52 X-Permitted-Cross-Domain-Policies: [none] 52 X-Permitted-Cross-Domain-Policies: [none]
53 X-Request-Id: [26ef20ce-d90c-498f-ab53-c5d727278a8b] 53 X-Request-Id: [960cb677-c620-4aa0-8656-ef57cadcccfd]
54 X-Runtime: ['0.031760'] 54 X-Runtime: ['0.025556']
55 X-XSS-Protection: [1; mode=block] 55 X-XSS-Protection: [1; mode=block]
56 content-length: ['348'] 56 content-length: ['349']
57 status: {code: 200, message: OK} 57 status: {code: 200, message: OK}
58- request: 58- request:
59 body: scope=read+write+follow+push&client_id=xA0mMcOmeZ5Uftxw6MZ2KDLoEBTM0p1vKHeUXhiEOno&client_secret=wSNQzlWZEQsDKfWEWXZ0ALj-9uv4zQ94u5UhQS-xASg&grant_type=client_credentials 59 body: scope=read+write+follow+push&client_id=8JNtbrDxmk5qfqv2XrD8VjxoB9yDAGWX-BHLUEZLi4A&client_secret=8M1U9VJ0OJFijsI-CfSnh46jaqMYdw_RA7TkX8Q9xaQ&grant_type=client_credentials
60 headers: 60 headers:
61 Accept: ['*/*'] 61 Accept: ['*/*']
62 Accept-Encoding: ['gzip, deflate'] 62 Accept-Encoding: ['gzip, deflate']
@@ -67,25 +67,25 @@ interactions:
67 method: POST 67 method: POST
68 uri: http://localhost:3000/oauth/token 68 uri: http://localhost:3000/oauth/token
69 response: 69 response:
70 body: {string: '{"access_token":"YHnkkuWLHjRZ-HsIzyWsT56OQn6oAXT8tvkIe__4k9g","token_type":"Bearer","scope":"read 70 body: {string: '{"access_token":"JxJ3-HVb1v8E2fL0TWZupTiv37HnmQgkQp3LBkRNbeg","token_type":"Bearer","scope":"read
71 write follow push","created_at":1561208577}'} 71 write follow push","created_at":1561237932}'}
72 headers: 72 headers:
73 Cache-Control: ['private, no-store'] 73 Cache-Control: ['private, no-store']
74 Content-Type: [application/json; charset=utf-8] 74 Content-Type: [application/json; charset=utf-8]
75 ETag: [W/"8f1d2693f3916319d5b2fb72627a180d"] 75 ETag: [W/"07eae9f7e1ab03fe9cfe8a38da0e6a36"]
76 Pragma: [no-cache] 76 Pragma: [no-cache]
77 Transfer-Encoding: [chunked] 77 Transfer-Encoding: [chunked]
78 Vary: ['Accept-Encoding, Origin'] 78 Vary: ['Accept-Encoding, Origin']
79 X-Request-Id: [d77ecf21-4bfc-476d-8361-3904e3db27f6] 79 X-Request-Id: [7076d445-9898-4104-8295-bc06906b6e55]
80 X-Runtime: ['0.021695'] 80 X-Runtime: ['0.027344']
81 content-length: ['141'] 81 content-length: ['141']
82 status: {code: 200, message: OK} 82 status: {code: 200, message: OK}
83- request: 83- request:
84 body: locale=en&agreement=1&email=email%40localhost42187&password=swordfish&username=coolguy42187&client_id=xA0mMcOmeZ5Uftxw6MZ2KDLoEBTM0p1vKHeUXhiEOno&client_secret=wSNQzlWZEQsDKfWEWXZ0ALj-9uv4zQ94u5UhQS-xASg 84 body: locale=en&agreement=1&email=email%40localhost90885&password=swordfish&username=coolguy90885&client_id=8JNtbrDxmk5qfqv2XrD8VjxoB9yDAGWX-BHLUEZLi4A&client_secret=8M1U9VJ0OJFijsI-CfSnh46jaqMYdw_RA7TkX8Q9xaQ
85 headers: 85 headers:
86 Accept: ['*/*'] 86 Accept: ['*/*']
87 Accept-Encoding: ['gzip, deflate'] 87 Accept-Encoding: ['gzip, deflate']
88 Authorization: [Bearer YHnkkuWLHjRZ-HsIzyWsT56OQn6oAXT8tvkIe__4k9g] 88 Authorization: [Bearer JxJ3-HVb1v8E2fL0TWZupTiv37HnmQgkQp3LBkRNbeg]
89 Connection: [keep-alive] 89 Connection: [keep-alive]
90 Content-Length: ['203'] 90 Content-Length: ['203']
91 Content-Type: [application/x-www-form-urlencoded] 91 Content-Type: [application/x-www-form-urlencoded]
@@ -93,12 +93,12 @@ interactions:
93 method: POST 93 method: POST
94 uri: http://localhost:3000/api/v1/accounts 94 uri: http://localhost:3000/api/v1/accounts
95 response: 95 response:
96 body: {string: '{"access_token":"TXtHQr05S6ckK771XAa73qdvnMfjJU7dqr3aVlsqRD4","token_type":"Bearer","scope":"read 96 body: {string: '{"access_token":"mtid2fVfjteKNHuJX-0XNAQ529z3dO2Zpzq80ylNH_I","token_type":"Bearer","scope":"read
97 write follow push","created_at":1561208577}'} 97 write follow push","created_at":1561237932}'}
98 headers: 98 headers:
99 Cache-Control: ['private, no-store'] 99 Cache-Control: ['private, no-store']
100 Content-Type: [application/json; charset=utf-8] 100 Content-Type: [application/json; charset=utf-8]
101 ETag: [W/"d45ffa5abcf400da6438b73b80ec142c"] 101 ETag: [W/"9ce4d72a21d00ff937dbcd69861b3385"]
102 Pragma: [no-cache] 102 Pragma: [no-cache]
103 Referrer-Policy: [strict-origin-when-cross-origin] 103 Referrer-Policy: [strict-origin-when-cross-origin]
104 Transfer-Encoding: [chunked] 104 Transfer-Encoding: [chunked]
@@ -107,8 +107,8 @@ interactions:
107 X-Download-Options: [noopen] 107 X-Download-Options: [noopen]
108 X-Frame-Options: [SAMEORIGIN] 108 X-Frame-Options: [SAMEORIGIN]
109 X-Permitted-Cross-Domain-Policies: [none] 109 X-Permitted-Cross-Domain-Policies: [none]
110 X-Request-Id: [1b5653f1-c622-4415-b972-7dd0a5e31202] 110 X-Request-Id: [574081ae-1f36-4a92-a843-b476500a83c1]
111 X-Runtime: ['0.205759'] 111 X-Runtime: ['0.113198']
112 X-XSS-Protection: [1; mode=block] 112 X-XSS-Protection: [1; mode=block]
113 content-length: ['141'] 113 content-length: ['141']
114 status: {code: 200, message: OK} 114 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)