test order zltx
This commit is contained in:
parent
473728e000
commit
0e1b13b26e
|
@ -13,7 +13,7 @@ var appId = "23329"
|
||||||
var baseUri = "http://test.openapi.1688sup.cn"
|
var baseUri = "http://test.openapi.1688sup.cn"
|
||||||
var notifyUrl = "http://test.openapi.1688sup.cn"
|
var notifyUrl = "http://test.openapi.1688sup.cn"
|
||||||
|
|
||||||
var lsxd = &ZltxService{}
|
var zltx = &ZltxService{}
|
||||||
|
|
||||||
func TestOrder(t *testing.T) {
|
func TestOrder(t *testing.T) {
|
||||||
request := &proto.OrderRequest{
|
request := &proto.OrderRequest{
|
||||||
|
@ -34,7 +34,7 @@ func TestOrder(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
t.Run("TestOrder", func(t *testing.T) {
|
t.Run("TestOrder", func(t *testing.T) {
|
||||||
got, err := lsxd.Order(context.Background(), request)
|
got, err := zltx.Order(context.Background(), request)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Errorf("Order() error = %v", err)
|
t.Errorf("Order() error = %v", err)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue