merge: sync test and stabilize full acceptance

This commit is contained in:
2026-09-09 21:14:25 +08:00
40 changed files with 595 additions and 134 deletions
@@ -32,6 +32,7 @@ test('initial fee preparation is reusable without confirming or publishing the f
assert.match(helper, /\/fees\/latest/)
assert.match(helper, /\/fees\/calculate/)
assert.match(helper, /feeStatus === 'CALCULATED'/)
assert.match(helper, /\$\{inboundId\}-inbound-fee-initial-calculate/)
assert.doesNotMatch(helper, /\/fees\/confirm|\/fees\/send/)
})
@@ -46,6 +47,9 @@ test('automatic fee adjustment confirms the ten percent tolerance boundary', asy
test('customer confirms chargeable quantity and manual unit price in one locked version', async () => {
const source = await readFile(moduleFile, 'utf8')
assert.match(source, /const orderId = id\(fixture\?\.orderId\)/)
assert.match(source, /context\.context\?\.merchantQualificationFixture/)
assert.match(source, /merchantFixture\?\.username/)
assert.match(source, /merchantFixture\?\.password/)
assert.doesNotMatch(source, /const orderId = id\(context\.createdResources\.orders\?\.orderId\)/)
assert.match(source, /Client 读取已推送计费量、对客单价和费用合计/)
assert.match(source, /Client 一次确认计费量、对客单价和费用/)