This commit is contained in:
邹宗楠
2023-02-20 14:55:32 +08:00
parent bd0809ac40
commit a0e5cfaaf4
3 changed files with 13 additions and 22 deletions

View File

@@ -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 {