mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 20:15:24 +02:00
chore: bump aiofiles, dotenv, fastapi, pydantic, uvicorn (#1944)
* update aiofiles and dotenv * bump fastapi and pydantic * update testclient * bump ruff and uvicorn
This commit is contained in:
parent
28cdd485f3
commit
d9c39cc1d0
10 changed files with 345 additions and 188 deletions
|
@ -13,7 +13,7 @@ def test_user_registration_new_group(api_client: TestClient):
|
|||
# Login
|
||||
form_data = {"username": registration.email, "password": registration.password}
|
||||
|
||||
response = api_client.post(api_routes.auth_token, form_data)
|
||||
response = api_client.post(api_routes.auth_token, data=form_data)
|
||||
assert response.status_code == 200
|
||||
token = response.json().get("access_token")
|
||||
|
||||
|
@ -29,7 +29,7 @@ def test_new_user_group_permissions(api_client: TestClient):
|
|||
# Login
|
||||
form_data = {"username": registration.email, "password": registration.password}
|
||||
|
||||
response = api_client.post(api_routes.auth_token, form_data)
|
||||
response = api_client.post(api_routes.auth_token, data=form_data)
|
||||
assert response.status_code == 200
|
||||
token = response.json().get("access_token")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue