1
This commit is contained in:
@@ -32,23 +32,14 @@ import (
|
||||
// t.Log(utils.Format4Output(result, false))
|
||||
//}
|
||||
//
|
||||
//func TestGetStationsByVenderId(t *testing.T) {
|
||||
// result, err := api.GetStationsByVenderId()
|
||||
// if err != nil {
|
||||
// t.Fatal(err)
|
||||
// }
|
||||
// findStore := false
|
||||
// for _, v := range result {
|
||||
// if v == mustExistStoreID {
|
||||
// findStore = true
|
||||
// break
|
||||
// }
|
||||
// }
|
||||
// if !findStore {
|
||||
// baseapi.SugarLogger.Fatalf("result have no store:%s", mustExistStoreID)
|
||||
// }
|
||||
//}
|
||||
//
|
||||
func TestGetStationsByVenderId(t *testing.T) {
|
||||
result, err := api.GetStationsByVenderId()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestGetStoreInfoByStationNo(t *testing.T) {
|
||||
result, err := api.GetStoreInfoByStationNo2("12535376")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user