袁聪的前端调修
This commit is contained in:
@@ -139,10 +139,11 @@ def test_offsite_recognized_mail_persists_workflow_and_notification() -> None:
|
||||
|
||||
recalc = client.post(
|
||||
"/api/v1/offsite-fund/settlement-statistics/recalculate",
|
||||
json={"fund_code": "000001", "application_date": "2026-09-10"},
|
||||
json={"application_date": "2026-09-10"},
|
||||
)
|
||||
assert recalc.status_code == 200
|
||||
assert recalc.json()["data"]["subscription_amount_yuan"] == "0"
|
||||
assert recalc.json()["data"]["fund_count"] == 1
|
||||
assert recalc.json()["data"]["items"][0]["subscription_amount_yuan"] == "0"
|
||||
|
||||
notice = client.post(
|
||||
f"/api/v1/offsite-fund/documents/{task_id}/notifications",
|
||||
|
||||
@@ -126,7 +126,8 @@ def test_promotion_material_http_workflow_and_advisor_scope(tmp_path: Path) -> N
|
||||
"file": (
|
||||
"manager-photo.jpg",
|
||||
_manager_photo_bytes(),
|
||||
"image/jpeg",
|
||||
# 模拟部分 Windows 浏览器/代理上传图片时给出的通用媒体类型。
|
||||
"application/octet-stream",
|
||||
)
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user