test(firstleg): scope loading evidence by cabinet
This commit is contained in:
@@ -52,6 +52,17 @@ test('default fixture publishes a second marker-owned inbound for the same-plan
|
||||
})
|
||||
|
||||
test('HTTP chain refreshes after stale inventory and keeps one stable PDA identity', () => {
|
||||
assert.match(loading,
|
||||
/async function uploadEvidence\(context, containerBookingId, evidenceType\)/)
|
||||
assert.match(loading,
|
||||
/files\/loading-evidence\/\$\{containerBookingId\}\?evidenceType=/)
|
||||
assert.match(loading,
|
||||
/files\/loading-evidence\/\$\{containerBookingId\}\/\$\{fileId\}/)
|
||||
assert.equal((loading.match(/uploadEvidence\(context, containerBookingId,/g) || []).length, 5)
|
||||
assert.doesNotMatch(loading,
|
||||
/files\/loading-evidence\/\$\{tenantId\}\/\$\{inboundId\}/)
|
||||
assert.doesNotMatch(loading,
|
||||
/uploadEvidence\(context, tenantId, inboundId,/)
|
||||
ordered(loading, [
|
||||
'创建三期 DRAFT 订舱(不生成真实柜)',
|
||||
'三期 DRAFT 订舱返回稳定身份和初始版本',
|
||||
|
||||
Reference in New Issue
Block a user