+ IMultipleStoresHandler.GetAllCategories
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user