22 lines
399 B
Go
22 lines
399 B
Go
package mtwm
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"git.rosy.net.cn/baseapi/utils"
|
|
_ "git.rosy.net.cn/jx-callback/business/jxcallback/orderman"
|
|
"git.rosy.net.cn/jx-callback/globals/testinit"
|
|
)
|
|
|
|
func init() {
|
|
testinit.Init()
|
|
}
|
|
|
|
func TestGetVendorCategories(t *testing.T) {
|
|
result, err := new(PurchaseHandler).GetVendorCategories()
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Log(utils.Format4Output(result, false))
|
|
}
|