diff --git a/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImplTest.java b/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImplTest.java index 34a7dc68..15cfdd82 100644 --- a/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImplTest.java +++ b/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImplTest.java @@ -230,6 +230,10 @@ public class BaseWxPayServiceImplTest { request.setActName("abc"); request.setClientIp("aaa"); request.setMchBillNo("aaaa"); + request.setWishing("what"); + request.setSendName("111"); + request.setTotalAmount(1); + request.setTotalNum(1); request.setReOpenid(((XmlWxPayConfig) this.payService.getConfig()).getOpenid()); WxPaySendRedpackResult redpackResult = this.payService.sendRedpack(request); this.logger.info(redpackResult.toString());