fix(reimbursement): harden assistant draft and claim cleanup
This commit is contained in:
@@ -158,6 +158,11 @@ def test_claim_item_attachment_upload_preview_and_delete(monkeypatch, tmp_path)
|
||||
assert upload_payload["attachment"]["document_info"]["document_type"] == "office_invoice"
|
||||
assert upload_payload["attachment"]["requirement_check"]["matches"] is True
|
||||
assert upload_payload["invoice_id"]
|
||||
assert upload_payload["item_type"] == "office"
|
||||
assert upload_payload["item_reason"] == "识别到办公用品发票,金额 88 元。"
|
||||
assert upload_payload["item_location"] == "深圳南山"
|
||||
assert upload_payload["item_date"] == "2026-05-13"
|
||||
assert upload_payload["item_amount"] == "88.00"
|
||||
|
||||
meta_response = client.get(
|
||||
f"/api/v1/reimbursements/claims/{claim_id}/items/{item_id}/attachment/meta",
|
||||
|
||||
Reference in New Issue
Block a user