fix(acceptance): reuse configured merchant credentials
This commit is contained in:
@@ -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 一次确认计费量、对客单价和费用/)
|
||||
|
||||
Reference in New Issue
Block a user