- remove nonexistent field shop_custom_id in ShopCategoryCreate and ShopCategoryUpdate
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user