test(admin): confirm fee adjustment tolerance

This commit is contained in:
2026-09-09 01:46:11 +08:00
parent a0b1c761b7
commit 859fba4ecc
2 changed files with 6 additions and 1 deletions
@@ -72,7 +72,7 @@ export async function run(context) {
`/api/platform/v1/inbounds/${encodeURIComponent(inboundId)}/fees/published?tenantId=${encodeURIComponent(tenantId)}`,
{ expectedFeeVersion: Number(initial.feeVersion), chargeableQuantity: adjustedQuantity,
unitPrice: adjustedUnitPrice, additionalAmount: adjustedAdditional,
reason: `${context.marker}-自动费用版本调整` }, undefined,
reason: `${context.marker}-自动费用版本调整`, toleranceConfirmed: true }, undefined,
requestHeaders(`${context.marker}-inbound-fee-adjust`))
const adjusted = context.apiSuccess(MODULE, '调整初算并生成新版本', adjustResponse, '', OPTIONS)
context.assert(MODULE, '调整版本仍为 CALCULATED 且不阻塞 WAIT_SPLIT', adjustResponse,