- make test runnable.

This commit is contained in:
gazebo
2018-08-30 09:18:24 +08:00
parent cc643050fd
commit 6aed9dc26d

View File

@@ -50,11 +50,11 @@ func TestUpdateStoreInfo4Open(t *testing.T) {
addParams := map[string]interface{}{
"stationAddress": testAddress,
}
updateResult, err := jdapi.UpdateStoreInfo4Open(mustExistStoreID, "test", addParams)
err = jdapi.UpdateStoreInfo4Open(mustExistStoreID, "test", addParams)
if err != nil {
t.Fatal(err)
}
baseapi.SugarLogger.Debug(updateResult)
time.Sleep(2 * time.Second)
result, err = jdapi.GetStoreInfoByStationNo(mustExistStoreID)
addParams = map[string]interface{}{