This commit is contained in:
李子铭 2024-11-15 10:49:47 +08:00
parent ec99935e2d
commit 1c3aa221bc
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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,