From 0e00fced99976d74e972a3c9ca5b762697840a33 Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 13 Nov 2022 16:16:29 +0200 Subject: fix tests --- tests/cassettes/test_app_account_create.yaml | 48 ++++++++++++++-------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'tests/cassettes/test_app_account_create.yaml') diff --git a/tests/cassettes/test_app_account_create.yaml b/tests/cassettes/test_app_account_create.yaml index 024db62..9a25741 100644 --- a/tests/cassettes/test_app_account_create.yaml +++ b/tests/cassettes/test_app_account_create.yaml @@ -18,14 +18,14 @@ interactions: uri: http://localhost:3000/api/v1/apps response: body: - string: '{"id":"2","name":"mastodon.py generated test app","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"GyGwG_h92z1F61g-fZEoz2PLVS6FINeOtwKYs2nsy0w","client_secret":"zvpc74o82B7RgdORoWoYo0nxC8CDtoXds_ZvT9Px4fY","vapid_key":"BNhzS25aKEIEjf6R76u-aFJ0xB7AQsoHet3nM5jpcjD_OXJmE8Coai8qV65lrSQXijqsEy_6-rNsAZmU0udnM4o="}' + string: '{"id":"2","name":"mastodon.py generated test app","website":null,"redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"wva3WizRa3Td6jx8ODwontjq5IbnBkZnjc-eCZs-gCM","client_secret":"KJy9uWQHnap3ifzLGU4H2JI9GGBRADxGzCzldmcs0P0","vapid_key":"BMW1iZ3p5HXHHMmkMJ6jdQM9egogj2xIhMMIWtY1w4Cv-ENlqvh8MEU9QeSrfVQGJVo499S7sssiJYQ6AFMEt7U="}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-/d1v4DqcK5/TgWX7GNHjVQ==''; + style-src ''self'' http://localhost:3000 ''nonce-DvxPo9Ovb2xSXhgAUzkoVA==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -35,7 +35,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"4ce9809dcd86cc16beb029986d717234" + - W/"d6a6da1cb2d2661b95a350008331ccf0" Referrer-Policy: - strict-origin-when-cross-origin Transfer-Encoding: @@ -51,9 +51,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - e1af1699-1f16-46b3-bffc-725af31bab1c + - a2399cb7-884b-405e-9d07-3aa8ca9c44d0 X-Runtime: - - '0.014188' + - '0.013795' X-XSS-Protection: - 1; mode=block status: @@ -81,7 +81,7 @@ interactions: Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-a0+4u/npIPiF7Sn8xwZI9Q==''; + style-src ''self'' http://localhost:3000 ''nonce-OA/gteRWWv/X4XNZZY/Ckw==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -91,7 +91,7 @@ interactions: Content-Type: - application/json; charset=utf-8 Date: - - Sun, 13 Nov 2022 13:14:46 GMT + - Sun, 13 Nov 2022 14:12:25 GMT ETag: - W/"bf317ffab393d8d1da7195269f28968a" Referrer-Policy: @@ -109,16 +109,16 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - a68915f9-8e74-4a79-b071-bbf2b04e7b3b + - 1eb8ce18-0741-491b-8a55-805a506ccb54 X-Runtime: - - '0.020083' + - '0.012449' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: scope=read+write+follow+push&client_id=GyGwG_h92z1F61g-fZEoz2PLVS6FINeOtwKYs2nsy0w&client_secret=zvpc74o82B7RgdORoWoYo0nxC8CDtoXds_ZvT9Px4fY&grant_type=client_credentials + body: scope=read+write+follow+push&client_id=wva3WizRa3Td6jx8ODwontjq5IbnBkZnjc-eCZs-gCM&client_secret=KJy9uWQHnap3ifzLGU4H2JI9GGBRADxGzCzldmcs0P0&grant_type=client_credentials headers: Accept: - '*/*' @@ -136,15 +136,15 @@ interactions: uri: http://localhost:3000/oauth/token response: body: - string: '{"access_token":"OhQ7OweaS7DciM3k2qxfLos1wELLcGHqzTsok348V9k","token_type":"Bearer","scope":"read - write follow push","created_at":1668345286}' + string: '{"access_token":"boBFheSAJZUyUXZPCu89xgrLZJaBG8trJYWSfuMSK8U","token_type":"Bearer","scope":"read + write follow push","created_at":1668348745}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-zE4IY+Oi76RxjNHXAeLT4Q==''; + style-src ''self'' http://localhost:3000 ''nonce-BZA3U4xqaWyyKNuH2prs8A==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -154,7 +154,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"74caf241dcf699e68305f47ae4262e1a" + - W/"9d87c141b0bd59d27b7d4110784c0e11" Pragma: - no-cache Referrer-Policy: @@ -172,23 +172,23 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - dc842b73-48f2-4441-8ce7-867ca25cf22c + - 59109c88-afde-4911-ad8a-2c0616fa488f X-Runtime: - - '0.011696' + - '0.024466' X-XSS-Protection: - 1; mode=block status: code: 200 message: OK - request: - body: username=coolguy07523&password=swordfish&email=email%40localhost07523&agreement=1&locale=en&client_id=GyGwG_h92z1F61g-fZEoz2PLVS6FINeOtwKYs2nsy0w&client_secret=zvpc74o82B7RgdORoWoYo0nxC8CDtoXds_ZvT9Px4fY + body: username=coolguy67826&password=swordfish&email=email%40localhost67826&agreement=1&locale=en&client_id=wva3WizRa3Td6jx8ODwontjq5IbnBkZnjc-eCZs-gCM&client_secret=KJy9uWQHnap3ifzLGU4H2JI9GGBRADxGzCzldmcs0P0 headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate Authorization: - - Bearer OhQ7OweaS7DciM3k2qxfLos1wELLcGHqzTsok348V9k + - Bearer boBFheSAJZUyUXZPCu89xgrLZJaBG8trJYWSfuMSK8U Connection: - keep-alive Content-Length: @@ -201,15 +201,15 @@ interactions: uri: http://localhost:3000/api/v1/accounts response: body: - string: '{"access_token":"2ltccxbHFUzKDV7zqkhxy1--rWG-VQqksA6fx5zHhmI","token_type":"Bearer","scope":"read - write follow push","created_at":1668345287}' + string: '{"access_token":"GJ-q6Ehvw5S8IEq55x96bLar71NW6rDqPVENktCvyOQ","token_type":"Bearer","scope":"read + write follow push","created_at":1668348745}' headers: Cache-Control: - no-store Content-Security-Policy: - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; - style-src ''self'' http://localhost:3000 ''nonce-cs2mopakGd+1T5g8G2rWOw==''; + style-src ''self'' http://localhost:3000 ''nonce-dow9mQf4oCm/J1d7BfztHg==''; media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 @@ -219,7 +219,7 @@ interactions: Content-Type: - application/json; charset=utf-8 ETag: - - W/"84fdf4bd08fce20526078de13709e42a" + - W/"f324fc36a46ea74fe40911e3d883bd83" Pragma: - no-cache Referrer-Policy: @@ -237,9 +237,9 @@ interactions: X-Permitted-Cross-Domain-Policies: - none X-Request-Id: - - ba6977db-6d4a-4873-a9d2-ca7568587a99 + - a2b2a1a2-ad55-43bf-a6bf-387ba9fa641d X-Runtime: - - '0.079864' + - '0.101587' X-XSS-Protection: - 1; mode=block status: -- cgit v1.2.3