test: cover customer inbound fee confirmation
This commit is contained in:
@@ -31,3 +31,12 @@ test('automatic fee adjustment confirms the ten percent tolerance boundary', asy
|
||||
assert.match(source, /人工对客单价写入最新费用版本/)
|
||||
assert.match(source, /money\(published\?\.unitPrice\) === adjustedUnitPrice/)
|
||||
})
|
||||
|
||||
test('customer confirms chargeable quantity and manual unit price in one locked version', async () => {
|
||||
const source = await readFile(moduleFile, 'utf8')
|
||||
assert.match(source, /Client 读取已推送计费量、对客单价和费用合计/)
|
||||
assert.match(source, /Client 一次确认计费量、对客单价和费用/)
|
||||
assert.match(source, /customerConfirmationStatus === 'CONFIRMED'/)
|
||||
assert.match(source, /客户费用确认重放返回同一锁定版本/)
|
||||
assert.match(source, /客户确认后平台不得再次修改计费量或对客单价/)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user