+ IMultipleStoresHandler.GetAllCategories

This commit is contained in:
gazebo
2019-08-28 15:36:51 +08:00
parent cf4202a41b
commit 538b3162a2
5 changed files with 52 additions and 24 deletions

View File

@@ -37,12 +37,12 @@ func TestUpdateSku(t *testing.T) {
}
}
func TestReadCategories(t *testing.T) {
result, err := curPurchaseHandler.ReadCategories()
func TestGetAllCategories(t *testing.T) {
result, err := curPurchaseHandler.GetAllCategories(jxcontext.AdminCtx, "")
if err != nil || len(result) == 0 {
t.Fatal(err.Error())
}
t.Log(result[0])
t.Log(utils.Format4Output(result, false))
}
func TestReadSku(t *testing.T) {