- make test runnable.
This commit is contained in:
@@ -50,11 +50,11 @@ func TestUpdateStoreInfo4Open(t *testing.T) {
|
|||||||
addParams := map[string]interface{}{
|
addParams := map[string]interface{}{
|
||||||
"stationAddress": testAddress,
|
"stationAddress": testAddress,
|
||||||
}
|
}
|
||||||
updateResult, err := jdapi.UpdateStoreInfo4Open(mustExistStoreID, "test", addParams)
|
err = jdapi.UpdateStoreInfo4Open(mustExistStoreID, "test", addParams)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
baseapi.SugarLogger.Debug(updateResult)
|
|
||||||
time.Sleep(2 * time.Second)
|
time.Sleep(2 * time.Second)
|
||||||
result, err = jdapi.GetStoreInfoByStationNo(mustExistStoreID)
|
result, err = jdapi.GetStoreInfoByStationNo(mustExistStoreID)
|
||||||
addParams = map[string]interface{}{
|
addParams = map[string]interface{}{
|
||||||
|
|||||||
Reference in New Issue
Block a user