fix(acceptance): reuse configured merchant credentials

This commit is contained in:
2026-09-10 21:26:52 +08:00
parent 6cf144e53d
commit e3dc5329aa
4 changed files with 8 additions and 5 deletions
@@ -48,8 +48,8 @@ test('customer confirms chargeable quantity and manual unit price in one locked
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.match(source, /merchantFixture\?\.username \|\| MERCHANT_USERNAME/)
assert.match(source, /merchantFixture\?\.password \|\| MERCHANT_PASSWORD/)
assert.doesNotMatch(source, /const orderId = id\(context\.createdResources\.orders\?\.orderId\)/)
assert.match(source, /Client 读取已推送计费量、对客单价和费用合计/)
assert.match(source, /Client 一次确认计费量、对客单价和费用/)