update test

This commit is contained in:
Javier Sánchez 2025-11-24 12:22:09 +01:00
parent 26ca9444aa
commit cf424613b3
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ def test_post_broken_body(client: TestClient):
headers={"content-type": "application/json"},
content="{some broken json}",
)
assert response.status_code == 422, response.text
assert response.status_code == 400, response.text
assert response.json() == IsDict(
{
"detail": [