test(firstleg): fix mixed customs permission probe
This commit is contained in:
@@ -251,7 +251,7 @@ async function runMixedConcurrency(context, routes, fixture) {
|
||||
undefined, customer.customerToken)
|
||||
context.assert(MODULE, 'Client身份禁止读取平台整柜报关入口', merchantPlatform,
|
||||
merchantPlatform?.http === 403 || (merchantPlatform?.http === 200
|
||||
&& ['A0401', 'A0403', 'S0503'].includes(codeOf(merchantPlatform))),
|
||||
&& ['A0401', 'A0403', 'S0503'].includes(code(merchantPlatform))),
|
||||
evidence(merchantPlatform), OPTIONS)
|
||||
|
||||
const exportResult = await routes.buyDeclarationXlsx(context, { loadingPlanId: id(fixture.loadingPlanId) })
|
||||
|
||||
Reference in New Issue
Block a user