aboutsummaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-01-20 17:57:53 +0700
committerShulhan <ms@kilabit.info>2023-01-20 18:33:08 +0700
commit4159ddbf654ca4ee493ec5da1916f0cea9119777 (patch)
tree4fd0bfff530ddba93c08dcea11a3ac0126980c95 /testdata
parent60ef28a1de5f20ae13c4a5a01cb5aa6ee92d31b0 (diff)
downloadduitku-4159ddbf654ca4ee493ec5da1916f0cea9119777.tar.xz
all: fix and un-skip testing Clearing Inquiry and Transfer
Diffstat (limited to 'testdata')
-rw-r--r--testdata/disbursement/clearing_inquiry_test.txt12
-rw-r--r--testdata/disbursement/clearing_transfer_test.txt24
2 files changed, 16 insertions, 20 deletions
diff --git a/testdata/disbursement/clearing_inquiry_test.txt b/testdata/disbursement/clearing_inquiry_test.txt
index 49437f2..65dc49b 100644
--- a/testdata/disbursement/clearing_inquiry_test.txt
+++ b/testdata/disbursement/clearing_inquiry_test.txt
@@ -6,8 +6,8 @@
"userId": 3551,
"email": "test@chakratechnology.com",
"amountTransfer": 10000,
- "bankCode": "014",
- "bankAccount": "8760673566",
+ "bankCode": "002",
+ "bankAccount": "8760673466",
"purpose": "Test Clearing Inquiry with duitku.",
"timestamp": 1506486841000,
"custRefNumber": "12345789",
@@ -19,12 +19,12 @@
<<< response.json
{
"email": "test@chakratechnology.com",
- "bankCode": "014",
- "bankAccount": "8760673566",
+ "bankCode": "002",
+ "bankAccount": "8760673466",
"amountTransfer": 10000,
"accountName": "Test Account",
- "custRefNumber": "12345789",
- "disburseId": 121012,
+ "custRefNumber": "<replaced>",
+ "disburseId": 0,
"type": "LLG",
"responseCode": "00",
"responseDesc": "Approved or completed successfully"
diff --git a/testdata/disbursement/clearing_transfer_test.txt b/testdata/disbursement/clearing_transfer_test.txt
index fac7423..699cdd7 100644
--- a/testdata/disbursement/clearing_transfer_test.txt
+++ b/testdata/disbursement/clearing_transfer_test.txt
@@ -3,14 +3,10 @@
>>> inquiry_request.json
{
- "userId": 3551,
- "email": "test@chakratechnology.com",
"amountTransfer": 10000,
- "bankCode": "014",
- "bankAccount": "8760673566",
- "purpose": "Test Clearing Inquiry with duitku.",
- "timestamp": 1506486841000,
- "custRefNumber": "12345789",
+ "bankCode": "002",
+ "bankAccount": "8760673466",
+ "purpose": "Test Clearing Transfer with duitku.",
"senderId": 123456789,
"senderName": "John Doe",
"type": "LLG"
@@ -19,12 +15,12 @@
>>> inquiry_response.json
{
"email": "test@chakratechnology.com",
- "bankCode": "014",
- "bankAccount": "8760673566",
+ "bankCode": "002",
+ "bankAccount": "8760673466",
"amountTransfer": 10000,
"accountName": "Test Account",
- "custRefNumber": "12345789",
- "disburseId": 121012,
+ "custRefNumber": "<replaced>",
+ "disburseId": 0,
"type": "LLG",
"responseCode": "00",
"responseDesc": "Approved or completed successfully"
@@ -33,11 +29,11 @@
<<< transfer_response.json
{
"email": "test@chakratechnology.com",
- "bankCode": "014",
- "bankAccount": "8760673566",
+ "bankCode": "002",
+ "bankAccount": "8760673466",
"amountTransfer": 10000,
"accountName": "Test Account",
- "custRefNumber": "12345789",
+ "custRefNumber": "<replaced>",
"type": "LLG",
"responseCode": "00",
"responseDesc": "Approved or completed successfully"