- change test orderid.
This commit is contained in:
@@ -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(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user