test(health): 积分系统集成测试 — 12 个测试覆盖 FIFO/签到/兑换/隔离
Some checks failed
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled

- 签到积分首次/连续签到
- 自定义事件积分增加
- FIFO 消费、精确消费、部分消费、余额不足
- 账户自动创建、兑换订单创建
- 交易记录查询、租户隔离
This commit is contained in:
iven
2026-04-27 21:21:04 +08:00
parent 6997bb1d90
commit 88d01b5d84
2 changed files with 382 additions and 0 deletions

View File

@@ -14,3 +14,5 @@ mod health_patient_tests;
mod health_appointment_tests;
#[path = "integration/health_pii_encryption_tests.rs"]
mod health_pii_encryption_tests;
#[path = "integration/health_points_tests.rs"]
mod health_points_tests;