fix(tests): update PDF format test to use truly unsupported format (.txt)
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m8s

This commit is contained in:
2026-06-14 19:50:44 +02:00
parent a20ebe2295
commit 81cb4e09b7

View File

@@ -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"},
)