Fix tests

This commit is contained in:
Cyber MacGeddon 2026-04-21 13:31:04 +01:00
parent 3986ef1bc3
commit c89e5dd1d8
4 changed files with 18 additions and 19 deletions

View file

@ -126,7 +126,7 @@ class TestDocumentEmbeddingsProcessor:
@pytest.mark.asyncio
async def test_metadata_preserved(self, processor):
"""Output should carry the original metadata."""
msg = _make_chunk_message(user="alice", collection="reports", doc_id="d1")
msg = _make_chunk_message(collection="reports", doc_id="d1")
mock_request = AsyncMock(return_value=EmbeddingsResponse(
error=None, vectors=[[0.0]]