1
This commit is contained in:
@@ -22,6 +22,7 @@ func init() {
|
||||
testinit.Init()
|
||||
}
|
||||
|
||||
// 获取平台分类属性(三级分类标签)
|
||||
func TestGetVendorCategories(t *testing.T) {
|
||||
result, err := new(PurchaseHandler).GetVendorCategories(jxcontext.AdminCtx)
|
||||
if err != nil {
|
||||
@@ -41,7 +42,7 @@ func TestGetVendorCategories(t *testing.T) {
|
||||
Level: v.Level,
|
||||
ParentID: v.ParentID,
|
||||
}
|
||||
if err := dao.CreateEntity(dao.GetDB(),&data);err != nil {
|
||||
if err := dao.CreateEntity(dao.GetDB(), &data); err != nil {
|
||||
t.Log(utils.Format4Output(err, false))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user