diff options
| author | Somhairle H. Marisol <[email protected]> | 2026-09-21 06:23:10 +0800 |
|---|---|---|
| committer | Somhairle H. Marisol <[email protected]> | 2026-09-21 06:23:10 +0800 |
| commit | 03f89aea966dfe9edcd08695a79788a6be703b26 (patch) | |
| tree | 3d09c85f4df050197df6c707492a17588c3335cf /tests/FundLab.Api.Tests/FundLab.Api.Tests.fsproj | |
| parent | d870d67cd0dfe9d48205f16cb8fbcfc4bd5e0b05 (diff) | |
| download | fund-lab-03f89aea966dfe9edcd08695a79788a6be703b26.tar.gz | |
feat(api,web): 模拟认购订单创建/读取,幂等与预留现金(3d-1)
- API: POST/GET /api/funds/{fundId}/orders,advisory lock + 行级锁事务预留现金,
幂等键重放/冲突/校验/目录缺失错误码齐全,基金响应新增 reservedCash
- Persistence: subscription_orders 与幂等表 + 保留现金列迁移
- Web: 认购表单与待确认订单列表(已提交·待确认),失败重试复用幂等键,
token 轮换隔离延迟响应
- 测试: API 41(含并发不足/回滚/真实宿主重启回归)、Web 17、Domain 19;
浏览器 QA 58 项全过
Diffstat (limited to 'tests/FundLab.Api.Tests/FundLab.Api.Tests.fsproj')
| -rw-r--r-- | tests/FundLab.Api.Tests/FundLab.Api.Tests.fsproj | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/FundLab.Api.Tests/FundLab.Api.Tests.fsproj b/tests/FundLab.Api.Tests/FundLab.Api.Tests.fsproj index 63f0750..21778a3 100644 --- a/tests/FundLab.Api.Tests/FundLab.Api.Tests.fsproj +++ b/tests/FundLab.Api.Tests/FundLab.Api.Tests.fsproj @@ -23,6 +23,7 @@ <Compile Include="ApiTests.fs" /> <Compile Include="ProcessCollectorTests.fs" /> <Compile Include="PersistenceTests.fs" /> + <Compile Include="OrderTests.fs" /> <Compile Include="Program.fs" /> </ItemGroup> </Project> |
