test: target unified order remarks endpoint
This commit is contained in:
@@ -689,7 +689,7 @@ export async function run(context) {
|
||||
assertCargoContract(context, firstLegDetailResponse, firstLegDetail?.cargoes, payload)
|
||||
|
||||
const noteResponse = await context.request('PUT',
|
||||
`/api/platform/v1/orders/first-leg/${encodeURIComponent(orderId)}/remarks?tenantId=${encodeURIComponent(tenantId)}`,
|
||||
`/api/platform/v1/orders/${encodeURIComponent(orderId)}/remarks?tenantId=${encodeURIComponent(tenantId)}`,
|
||||
{
|
||||
expectedVersion: Number(firstLegDetail?.order?.version),
|
||||
internalRemark: `${context.marker} Admin 订单链路验收`,
|
||||
|
||||
Reference in New Issue
Block a user