test: align acceptance contracts with current initialization and service clients

This commit is contained in:
2026-09-29 15:06:42 +08:00
parent 60f61d7e0a
commit 41d8387cd5
6 changed files with 32 additions and 25 deletions
@@ -28,7 +28,7 @@ test('transfer review integration covers both source types and known blank-reaso
const source = await read('warehouse-transfer-review.mjs')
const caller = await read('phase4-overseas-client-services.mjs')
assert.match(caller, /return verifyWarehouseTransferReview\(context, token, order.row.customerId, body, transferNo\)/)
for (const value of ['WAIT_PDA_RECEIVING', 'PENDING_ASSIGNMENT', 'WAIT_DELIVERY', 'CANCELLED',
for (const value of ['WAIT_PDA_RECEIVING', 'INBOUND_MEASURING', 'CANCELLED',
'REJECTED', 'APPROVED', 'customerId=', 'rejected(denied, 403)', 'rejected(missingScope, 400)',
'rejected(reverse, 409)', 'rejected(emptyReason, 400)', "sourceLastlegOrderIds: []"])
assert.ok(source.includes(value), value)