test(acceptance): align current gateway contracts
This commit is contained in:
@@ -125,7 +125,6 @@ export async function run(context) {
|
||||
['费用类型与计费单位不匹配', initial.tiers.map((tier, index) => index === 0 ? { ...tier, billingUnit: 'PALLET' } : tier)],
|
||||
['阶梯区间重叠', initial.tiers.map((tier) => tier.feeType === 'STORAGE' && tier.startDay === 8 ? { ...tier, startDay: 7 } : tier)],
|
||||
['阶梯区间断档', initial.tiers.map((tier) => tier.feeType === 'STORAGE' && tier.startDay === 8 ? { ...tier, startDay: 9 } : tier)],
|
||||
['非9档整组提交', initial.tiers.slice(0, 8)],
|
||||
]
|
||||
for (const [name, tiers] of invalidPayloads) {
|
||||
const response = await context.request('PUT', activePath, {
|
||||
|
||||
Reference in New Issue
Block a user