This commit is contained in:
parent
ec99935e2d
commit
1c3aa221bc
|
@ -44,7 +44,7 @@ func TestOrder(t *testing.T) {
|
|||
request := &proto.OrderRequest{
|
||||
Config: config(),
|
||||
Order: &proto.OrderRequest_Order{
|
||||
OrderNo: "test_zltx_4",
|
||||
OrderNo: "test_old_zltx_1",
|
||||
Account: "18666666666",
|
||||
Quantity: 1,
|
||||
Extra: nil,
|
||||
|
@ -54,8 +54,6 @@ func TestOrder(t *testing.T) {
|
|||
Extra: []byte(`{}`),
|
||||
},
|
||||
}
|
||||
fmt.Println(StrIdx(request.String(), "order"))
|
||||
//fmt.Println(StrIdx(request.String(), "product"))
|
||||
|
||||
t.Run("TestOrder", func(t *testing.T) {
|
||||
got, err := zltx.Order(context.Background(), request)
|
||||
|
|
|
@ -34,7 +34,7 @@ func TestOrder(t *testing.T) {
|
|||
request := &proto.OrderRequest{
|
||||
Config: config(),
|
||||
Order: &proto.OrderRequest_Order{
|
||||
OrderNo: "test_card_zltx_4",
|
||||
OrderNo: "test_card_zltx_old_4",
|
||||
Account: "18666666666",
|
||||
Quantity: 1,
|
||||
Amount: 0,
|
||||
|
|
Loading…
Reference in New Issue