test(firstleg): cover phase3 outbound contracts
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { registerPendingContract } from './_phase3-pending-contract.mjs'
|
||||
|
||||
export async function run(context) {
|
||||
registerPendingContract(context, {
|
||||
module: 'phase3-outbound-aggregate', scenario: 'outbound-aggregate', name: '出仓单/柜次主聚合与整体时间线',
|
||||
reason: '当前公开 API 只有入库单级分柜/预装/装柜状态和独立货柜、订舱、拖车对象;没有出仓单主资源、子流程关联或整体时间线端点', category: 'contract-gap',
|
||||
fixtures: ['orders', 'phase3Loading', 'phase3ContainerLoading', 'oceanBooking', 'truckAppointment'],
|
||||
contractSource: '待新增出仓主聚合 Controller/DTO/OpenAPI',
|
||||
assertions: ['marker 所属主单与柜次关联唯一', '时间线按真实动作有序且含审计字段', '跨客户 ID 不可见'],
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user