aboutsummaryrefslogtreecommitdiff
path: root/client_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-07-12 17:50:14 +0700
committerShulhan <ms@kilabit.info>2025-07-12 17:50:14 +0700
commit9d95a106f2bec29ba11706bd28b70851e1381056 (patch)
treebed96996b38eafeeb573bb7d82268646851eb7ee /client_test.go
parentdba7aa16a4df5e89c2aea5cec1d07609f468de82 (diff)
downloadduitku-9d95a106f2bec29ba11706bd28b70851e1381056.tar.xz
all: fix tests based on recent API response
Some API now return "SUCCESS" instead of "Success", which is inconsistent with the rest.
Diffstat (limited to 'client_test.go')
-rw-r--r--client_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/client_test.go b/client_test.go
index e54a825..ea67d89 100644
--- a/client_test.go
+++ b/client_test.go
@@ -197,6 +197,7 @@ func TestClient_InquiryStatus_sandbox(t *testing.T) {
t.Fatal(err)
}
expInquiryStatus.CustRefNumber = resInqueryStatus.CustRefNumber
+ expInquiryStatus.Response.Desc = `SUCCESS`
test.Assert(t, `InquiryStatus`, expInquiryStatus, resInqueryStatus)
}