1
0
mirror of synced 2025-12-20 15:48:01 +08:00

🎨 修复小程序支付管理获取订单详情接口请求参数格式错误

This commit is contained in:
liming1019
2022-09-11 20:33:20 +08:00
committed by GitHub
parent 3918005b1f
commit 310e1d91be
2 changed files with 11 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ package cn.binarywang.wx.miniapp.api.impl;
import cn.binarywang.wx.miniapp.api.WxMaService;
import cn.binarywang.wx.miniapp.bean.shop.request.WxMaShopPayCreateOrderRequest;
import cn.binarywang.wx.miniapp.bean.shop.response.WxMaShopPayCreateOrderResponse;
import cn.binarywang.wx.miniapp.bean.shop.response.WxMaShopPayGetOrderResponse;
import cn.binarywang.wx.miniapp.test.ApiTestModule;
import com.google.inject.Inject;
import org.testng.annotations.Guice;
@@ -37,4 +38,10 @@ public class WxMaShopPayServiceImplTest {
WxMaShopPayCreateOrderResponse response = wxService.getWxMaShopPayService().createOrder(request);
assertThat(response).isNotNull();
}
@Test
public void testGetOrder() throws Exception {
WxMaShopPayGetOrderResponse response = wxService.getWxMaShopPayService().getOrder("457243057210572800");
assertThat(response).isNotNull();
}
}