- remove nonexistent field shop_custom_id in ShopCategoryCreate and ShopCategoryUpdate

This commit is contained in:
gazebo
2019-01-31 16:57:11 +08:00
parent a7c8658160
commit 335162d99a
2 changed files with 18 additions and 22 deletions

View File

@@ -7,7 +7,7 @@ import (
)
func TestShopCategoryCreate(t *testing.T) {
result, err := api.ShopCategoryCreate(testShopID, 0, "绿色蔬菜", 16, "16")
result, err := api.ShopCategoryCreate(testShopID, 0, "绿色蔬菜", 16)
if err != nil {
t.Fatal(err)
} else {
@@ -25,7 +25,7 @@ func TestShopCategoryGet(t *testing.T) {
}
func TestShopCategoryUpdate(t *testing.T) {
err := api.ShopCategoryUpdate(testShopID, 153760204017121, "水果2", 2, "2")
err := api.ShopCategoryUpdate(testShopID, 153760204017121, "水果2", 2)
if err != nil {
t.Fatal(err)
}