diff --git a/tests/test_tutorial/test_body/test_tutorial001.py b/tests/test_tutorial/test_body/test_tutorial001.py index f8b5aee8d..a595b0ec1 100644 --- a/tests/test_tutorial/test_body/test_tutorial001.py +++ b/tests/test_tutorial/test_body/test_tutorial001.py @@ -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": [