From 572c1f36986e1e6765e32966b5becaa245659911 Mon Sep 17 00:00:00 2001 From: Yuriy Chebyshev Date: Wed, 12 Jun 2024 09:36:45 +0300 Subject: [PATCH] fixed body in change password test --- tests/integration/api_full/test_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/api_full/test_user.py b/tests/integration/api_full/test_user.py index 500e47e4..e2e48327 100644 --- a/tests/integration/api_full/test_user.py +++ b/tests/integration/api_full/test_user.py @@ -80,7 +80,7 @@ async def test_change_password(client: AsyncClient, user: dto.User, token: Token resp = await client.put( "/users/me/password/", cookies={"Authorization": f"{token.token_type} {token.access_token}"}, - json={"password": "09876"}, + json="09876", follow_redirects=True, ) assert resp.is_success