美团分类果捞修改

This commit is contained in:
苏尹岚
2020-07-07 16:53:14 +08:00
parent b853dbb954
commit 5694ab1360
7 changed files with 15 additions and 16 deletions

View File

@@ -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)
}