18 lines
395 B
Go
18 lines
395 B
Go
package ebai
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.rosy.net.cn/baseapi/utils"
|
|
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
|
)
|
|
|
|
func TestGetStoreAllSkus(t *testing.T) {
|
|
skuNameList, err := new(PurchaseHandler).GetStoreAllSkus(jxcontext.AdminCtx, testShopID, testShopBaiduID)
|
|
if err != nil {
|
|
t.Fatal(err.Error())
|
|
}
|
|
t.Log(utils.Format4Output(skuNameList, false))
|
|
t.Log(len(skuNameList))
|
|
}
|