You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-library/kashangwl/kashangwl_test.go

25 lines
427 B

package kashangwl
import (
"gopkg.in/dtapps/go-library.v2/kashangwl/message"
"gopkg.in/dtapps/go-library.v2/kashangwl/url"
"log"
"testing"
)
func TestName(t *testing.T) {
wl := KaShangWl{
CustomerId: 0000000,
CustomerKey: "xxx",
}
msg := message.Order{
OrderId: 827669582783,
}
send, err := wl.Send(msg, url.Order)
3 years ago
log.Printf("send%s\n", send)
if err != nil {
3 years ago
t.Errorf("err%v\n", err)
return
}
}