This commit is contained in:
gazebo
2018-09-26 22:23:21 +08:00
parent b7ad5004b6
commit 83c0dc3a82
3 changed files with 33 additions and 12 deletions

View File

@@ -44,8 +44,8 @@ func TestShopGet(t *testing.T) {
func TestShopUpdate(t *testing.T) {
params := map[string]interface{}{
KeyShopID: testShopID,
// KeyName: "hello",
"phone": "13812345678",
KeyName: "hello",
"phone": "13812345678",
}
err := api.ShopUpdate(params)
if err != nil {
@@ -65,7 +65,7 @@ func TestShopBusStatusGet(t *testing.T) {
}
func TestShopIDBatchUpdate(t *testing.T) {
err := api.ShopIDBatchUpdate([]string{utils.Int2Str(testShopBaiduID)}, []string{""})
err := api.ShopIDBatchUpdate([]string{utils.Int2Str(testShopBaiduID)}, []string{"100077"})
if err != nil {
t.Fatal(err)
}