diff --git a/mcp-server/tests/test_unified_ingest.py b/mcp-server/tests/test_unified_ingest.py index d6a78af..0fd0ea4 100644 --- a/mcp-server/tests/test_unified_ingest.py +++ b/mcp-server/tests/test_unified_ingest.py @@ -87,7 +87,7 @@ def patched(monkeypatch, tmp_path): monkeypatch.setattr(db, "set_case_law_extraction_status", _set_status) monkeypatch.setattr(db, "set_case_law_halacha_status", _set_status) monkeypatch.setattr(db, "recompute_searchable", _recompute_searchable) - monkeypatch.setattr(db, "mark_indexed", _set_status) + monkeypatch.setattr(db, "mark_indexed", _recompute_searchable) # Force flat chunking + multimodal OFF unless a test flips it. monkeypatch.setattr(config, "PARENT_DOC_RETRIEVAL_ENABLED", False) monkeypatch.setattr(config, "MULTIMODAL_ENABLED", False)