test: align acceptance and dependency contracts

This commit is contained in:
2026-09-11 01:31:14 +08:00
parent 543ebee5cc
commit abbacc683e
6 changed files with 35 additions and 52 deletions
@@ -82,7 +82,8 @@ test('PDA operations reuse received plan pallets and the public location without
test('P5 follows warehouse review, customer confirmation and fulfillment completion in order', () => {
assert.match(source, /applicationStatus === 'CUSTOMER_CONFIRM_PENDING'/)
assert.match(source, /\/confirm-completion/)
assert.match(source, /const merchantRelabelBase = '\/api\/merchant\/v1\/last-leg\/relabel-applications'/)
assert.match(source, /`\$\{merchantRelabelBase\}\/\$\{encodeURIComponent\(relabelNo\)\}\/confirm-completion`/)
assert.match(source, /status === 'READY_FOR_OUTBOUND'/)
assert.match(source, /status: 'COMPLETED'/)
assert.match(source, /walletStatus === 'SETTLED'/)