test: include relabel charge amount

This commit is contained in:
2026-09-06 12:24:42 +08:00
parent 1a7d4bb39f
commit 7fdc58380f
2 changed files with 2 additions and 0 deletions
@@ -29,6 +29,7 @@ test('module never borrows historical order or inventory candidates', () => {
})
test('relabel transfer and discard cover create replay conflict list detail and legal initial states', () => {
assert.match(source, /chargeAmount: 0\.01/)
for (const token of [
'客户创建贴标申请', '客户贴标申请幂等重放', '贴标同幂等键异载荷返回A0409',
'客户查询自身贴标申请列表', '客户查询自身贴标申请详情', 'PENDING_PROCESSING',
@@ -93,6 +93,7 @@ async function verifyRelabel(context, token, order) {
customerOrderNo: order.row.orderNo,
overseasWarehouseId: order.row.overseasWarehouseId,
labelDeadline: future(7), contactName: '客户贴标验收联系人', contactPhone: '13800000006',
chargeAmount: 0.01,
remark: context.marker, idempotencyKey: `${context.marker}-CLIENT-RELABEL`.slice(0, 255),
items: [{
skuCode: cargo.skuCode, productImageFileId: null, productImageFileName: null, productImageUrl: null,