This commit is contained in:
@@ -51,14 +51,14 @@ test('agent recharge rejection posts the rejection reason to the order rejection
|
||||
const { AgentRechargeService } = await import(pathToFileURL(bundlePath).href)
|
||||
|
||||
await AgentRechargeService.rejectAgentRecharge(42, {
|
||||
reject_reason: '支付凭证不符合要求'
|
||||
rejection_reason: '支付凭证不符合要求'
|
||||
})
|
||||
|
||||
assert.deepEqual(calls, [
|
||||
{
|
||||
url: '/api/admin/agent-recharges/42/reject',
|
||||
data: {
|
||||
reject_reason: '支付凭证不符合要求'
|
||||
rejection_reason: '支付凭证不符合要求'
|
||||
}
|
||||
}
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user