diff --git a/tests/integration/test_api_endpoints.py b/tests/integration/test_api_endpoints.py index ba451e63..f76061ed 100644 --- a/tests/integration/test_api_endpoints.py +++ b/tests/integration/test_api_endpoints.py @@ -162,7 +162,7 @@ async def test_upload_and_search_endpoint(tmp_path: Path, disable_langflow_inges } upload_resp = await client.post("/router/upload_ingest", files=files) body = upload_resp.json() - assert upload_resp.status_code == 201, upload_resp.text + assert upload_resp.status_code == 202, upload_resp.text assert body.get("status") in {"indexed", "unchanged"} assert isinstance(body.get("id"), str)