This commit is contained in:
2026-09-03 18:13:00 +08:00
parent 880f923462
commit ca288dec72
8 changed files with 50 additions and 25 deletions
@@ -85,3 +85,9 @@ test('all production booking fixtures use DRAFT release and the shared requireme
assert.match(source, /containerRequirements/, name)
}
})
test('manual PDA state fixture resolves an agent bound to the selected carrier', () => {
const source = read('manual-state-loading-pda.mjs')
assert.match(source, /resolveOceanBookingAgent\(context, MODULE, carrier\.carrierCode, OPTIONS\)/)
assert.doesNotMatch(source, /suppliers\?tenantId=0&category=BOOKING/)
})