diff --git a/tests/test_translate_endpoint.py b/tests/test_translate_endpoint.py index af7909c..95379cb 100644 --- a/tests/test_translate_endpoint.py +++ b/tests/test_translate_endpoint.py @@ -221,7 +221,7 @@ class TestFileValidation: response = authenticated_client.post( TRANSLATE_URL, files={ - "file": ("test.pdf", io.BytesIO(invalid_content), "application/pdf") + "file": ("test.txt", io.BytesIO(invalid_content), "text/plain") }, data={"target_lang": "fr"}, )