美团分类果捞修改
This commit is contained in:
@@ -14,11 +14,11 @@ func TestSimulateShopStatus(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestShopQuery(t *testing.T) {
|
||||
shopInfo, err := api.ShopQuery("not exist")
|
||||
if err == nil {
|
||||
t.Fatal("应该报错找不到门店")
|
||||
}
|
||||
shopInfo, err = api.ShopQuery("11733028")
|
||||
// shopInfo, err := api.ShopQuery("not exist")
|
||||
// if err == nil {
|
||||
// t.Fatal("应该报错找不到门店")
|
||||
// }
|
||||
shopInfo, err := api.ShopQuery("11732425")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user