Remove references to "v4" throughout the code and documentation
Quality Gate / gate (push) Failing after 11s

This commit is contained in:
Jim Lancaster
2026-08-20 16:35:20 -05:00
parent eaeb0bc806
commit bf2f3ac09c
34 changed files with 140 additions and 550 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ async def test_document_print_preview_and_safe_media_route(app_client):
assert str(media_path) not in response.text
assert str(pdf_path) not in response.text
media_response = client.get(f"/api/v4/documents/{document_id}/sources/{source_id}/media")
media_response = client.get(f"/api/documents/{document_id}/sources/{source_id}/media")
assert media_response.status_code == 200
assert media_response.headers["content-type"] == "image/png"
assert "content-disposition" not in media_response.headers
@@ -111,5 +111,5 @@ async def test_document_source_media_rejects_cross_document_access(app_client):
other_id = other.id
source_id = source.id
response = client.get(f"/api/v4/documents/{other_id}/sources/{source_id}/media")
response = client.get(f"/api/documents/{other_id}/sources/{source_id}/media")
assert response.status_code == 404