Skip to content

Commit

Permalink
Fix MR review
Browse files Browse the repository at this point in the history
- Update mock response
  • Loading branch information
Long. Huynh Bao committed May 15, 2023
1 parent 76e4321 commit babbe00
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/zalopay/__tests__/__mocks__/disbursement/responses.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
export const queryMerchantBalanceSuccess = {
"return_code": 1,
"return_message": "Giao dịch thành công.",
"return_message": "Transaction successful.",
"sub_return_code": 1,
"sub_return_message": "Giao dịch thành công.",
"sub_return_message": "Transaction successful.",
"data": {
"balance": 1000000000,
}
};

export const queryUserSuccess = {
"return_code": 1,
"return_message": "Giao dịch thành công.",
"return_message": "Transaction successful.",
"sub_return_code": 1,
"sub_return_message": "Giao dịch thành công.",
"sub_return_message": "Transaction successful.",
"data": {
"reference_id": "23040713221300383",
"m_u_id": "230407qQe7vGnqp0agyforLAy0D2b1x3",
Expand All @@ -24,9 +24,9 @@ export const queryUserSuccess = {

export const topupSuccess = {
"return_code": 1,
"return_message": "Giao dịch thành công.",
"return_message": "Transaction successful.",
"sub_return_code": 1,
"sub_return_message": "Giao dịch thành công.",
"sub_return_message": "Transaction successful.",
"data": {
"order_id": "202305110902928474",
"status": 3,
Expand All @@ -44,9 +44,9 @@ export const topupSuccess = {

export const queryOrderSuccess = {
"return_code": 1,
"return_message": "Giao dịch thành công.",
"return_message": "Transaction successful.",
"sub_return_code": 1,
"sub_return_message": "Giao dịch thành công.",
"sub_return_message": "Transaction successful.",
"data": {
"order_id": "202305110902928474",
"status": 1,
Expand Down

0 comments on commit babbe00

Please sign in to comment.