- add delete cats or skus task to rootTask

This commit is contained in:
gazebo
2018-12-19 23:46:57 +08:00
parent 056b9109a1
commit 55f2445eb4
4 changed files with 12 additions and 12 deletions

View File

@@ -45,14 +45,14 @@ func TestGetAllRemoteSkus(t *testing.T) {
}
func TestDeleteRemoteSkus(t *testing.T) {
err := new(PurchaseHandler).DeleteRemoteSkus(testShopID, nil)
err := new(PurchaseHandler).DeleteRemoteSkus(jxcontext.AdminCtx, nil, testShopID, nil)
if err != nil {
t.Fatal(err.Error())
}
}
func TestDeleteRemoteCategories(t *testing.T) {
err := new(PurchaseHandler).DeleteRemoteCategories(testShopID, nil)
err := new(PurchaseHandler).DeleteRemoteCategories(jxcontext.AdminCtx, nil, testShopID, nil)
if err != nil {
t.Fatal(err.Error())
}