From 0e424ec54c167edd464813d885a71066e54d124f Mon Sep 17 00:00:00 2001 From: gazebo Date: Wed, 27 Jun 2018 19:01:25 +0800 Subject: [PATCH] - change test orderid. --- platformapi/jdapi/jdapi_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformapi/jdapi/jdapi_test.go b/platformapi/jdapi/jdapi_test.go index bba2b9c2..628b9ade 100644 --- a/platformapi/jdapi/jdapi_test.go +++ b/platformapi/jdapi/jdapi_test.go @@ -97,7 +97,7 @@ func TestGenerateURL(t *testing.T) { func TestOrderQuery(t *testing.T) { jdParams := map[string]interface{}{ - "orderId": "813452298000322", + "orderId": "813344594000041", } result, err := jdapi.OrderQuery(jdParams) if err != nil { @@ -110,7 +110,7 @@ func TestOrderQuery(t *testing.T) { buyerCityOk := false orderInfo, _ := result[0].(map[string]interface{}) if buyerCity1, ok := orderInfo["buyerCity"]; ok { - if buyerCity, ok := buyerCity1.(string); ok && buyerCity == "1930" { + if buyerCity, ok := buyerCity1.(string); ok && buyerCity == "2376" { buyerCityOk = true } } @@ -152,7 +152,7 @@ func TestGetOrderApplyCancelCallbackMsg(t *testing.T) { func TestSimulateSendNewOrderMsg(t *testing.T) { orderInfo := &CallbackOrderMsg{ - BillID: "813452298000322", + BillID: "813344594000041", StatusID: OrderStatusNew, Timestamp: utils.GetCurTimeStr(), }