test: 修复陈旧 golden 与恢复 Step1 Ignore

golden_互换结清后待实现归零.json 的 RealizedPnl 0->8.219(f4ffe710 修复后未重录,8.219为正确值); SwapReEodDeleteManualCashRecordTest.Step1 恢复 [Ignore](与类头契约一致,避免污染入库 golden)。
This commit is contained in:
hjhan
2026-07-21 15:28:17 +08:00
parent 985162242d
commit e7c6e432e1
2 changed files with 2 additions and 2 deletions
@@ -247,7 +247,7 @@ namespace YLErp.Modules.SwapModule
/// </summary> /// </summary>
[TestMethod] [TestMethod]
[TestCategory("DBRecording")] [TestCategory("DBRecording")]
// [Ignore] // 写文件副作用,手动跑时取消注释 [Ignore] // 写文件副作用 + 依赖测试库样本(trade 1903),手动跑时取消注释;不进 CI(见类头注释)
public void Step1_RecordAndDiagnoseDeleteBug() public void Step1_RecordAndDiagnoseDeleteBug()
{ {
int tradeId = SampleTradeId; int tradeId = SampleTradeId;
@@ -24,7 +24,7 @@
"TdCloseInterest": 8.21917808219, "TdCloseInterest": 8.21917808219,
"TdInterestPrincipal": 10000.0, "TdInterestPrincipal": 10000.0,
"RealizedInterest": 8.21917808219, "RealizedInterest": 8.21917808219,
"RealizedPnl": 0.0, "RealizedPnl": 8.21917808219,
"SwapPositionValue": 0.821917808219178082191780822, "SwapPositionValue": 0.821917808219178082191780822,
"InterestFeeSum": 0.0 "InterestFeeSum": 0.0
} }