优化
This commit is contained in:
@@ -146,11 +146,11 @@ describe('platform loading lists API', () => {
|
||||
},
|
||||
})
|
||||
|
||||
const result = await confirmPreloadPlan('1900000000000000001', 3, 'confirm-operation-1')
|
||||
const result = await confirmPreloadPlan('1900000000000000001', 3, '1900000000000000007', 'confirm-operation-1')
|
||||
|
||||
expect(post).toHaveBeenCalledWith(
|
||||
'/platform/v1/first-leg/loading-plans/1900000000000000001/confirm',
|
||||
{ expectedVersion: 3 },
|
||||
{ expectedVersion: 3, assigneeId: '1900000000000000007' },
|
||||
{ headers: { 'Idempotency-Key': 'confirm-operation-1' } },
|
||||
)
|
||||
expect(result).toMatchObject({
|
||||
|
||||
Reference in New Issue
Block a user