test: correct container loading acceptance order

This commit is contained in:
2026-08-14 21:45:54 +08:00
parent dbca4a1403
commit fdd011bc57
5 changed files with 75 additions and 16 deletions
@@ -374,7 +374,7 @@ export async function run(context) {
const transportResponse = await request(context, 'PATCH', `${CONTAINERS}/${containerId}/transport`, {
containerNo: `TST-${suffix}`.slice(0, 64), voyageNo: `V-${suffix}`.slice(0, 64),
version: Number(containerDetail?.version ?? 0), reason: context.marker,
version: Number(linkedContainer.version), reason: context.marker,
})
const transported = context.apiSuccess(MODULE, '在放舱前绑定本轮真实箱号', transportResponse, '', OPTIONS)
context.assert(MODULE, '绑定后柜次保留本轮箱号', transportResponse,