Skip to content

Commit 445b47b

Browse files
committed
完善测试
1 parent 80cf632 commit 445b47b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImplTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,10 @@ public void testSendRedpack() throws Exception {
230230
request.setActName("abc");
231231
request.setClientIp("aaa");
232232
request.setMchBillNo("aaaa");
233+
request.setWishing("what");
234+
request.setSendName("111");
235+
request.setTotalAmount(1);
236+
request.setTotalNum(1);
233237
request.setReOpenid(((XmlWxPayConfig) this.payService.getConfig()).getOpenid());
234238
WxPaySendRedpackResult redpackResult = this.payService.sendRedpack(request);
235239
this.logger.info(redpackResult.toString());

0 commit comments

Comments
 (0)