This commit is contained in:
@@ -50,9 +50,10 @@ test('creation defaults and reset never select the hidden original route', () =>
|
||||
const { resolveRefundMethod } = evaluate(
|
||||
`const RefundMethod = ${JSON.stringify(RefundMethod)}; export ${resolver}`
|
||||
)
|
||||
for (const payment_method of ['wechat', 'alipay', 'offline']) {
|
||||
for (const payment_method of ['wechat', 'alipay', 'fuiou', 'offline']) {
|
||||
assert.equal(resolveRefundMethod({ payment_method }), RefundMethod.CUSTOMER_ACCOUNT)
|
||||
}
|
||||
assert.match(dialogSource, /fuiou: '富友支付'/)
|
||||
assert.equal(
|
||||
resolveRefundMethod({ payment_method: 'wallet', buyer_type: 'agent' }),
|
||||
RefundMethod.AGENT_WALLET
|
||||
|
||||
Reference in New Issue
Block a user