mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-11-03 21:59:05 +08:00
完善微信支付 下载对账单 的接口 #65
This commit is contained in:
@ -49,8 +49,9 @@ public class WxPayServiceImplTest {
|
||||
|
||||
@Test
|
||||
public void testDownloadBill() throws Exception {
|
||||
File file = this.payService.downloadBill("20170101", "ALL", "GZIP", "1111111");
|
||||
assertNotNull(file);
|
||||
WxPayBillResult wxPayBillResult = this.payService.downloadBill("20170101", "ALL", "GZIP", "1111111");
|
||||
//前一天没有账单记录返回null
|
||||
assertNotNull(wxPayBillResult);
|
||||
//必填字段为空时,抛出异常
|
||||
this.payService.downloadBill("", "", "", null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user