优化
This commit is contained in:
@@ -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/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user