引入配置方法,使得微信支付能够支持仿真测试环境 #119

This commit is contained in:
Binary Wang
2017-01-09 16:14:41 +08:00
parent ab3b2249a9
commit 9e0fcb34d0
3 changed files with 8 additions and 3 deletions

View File

@@ -73,7 +73,10 @@ public class WxMpPayServiceImplTest {
*/
@Test
public void testRefundQuery() throws Exception {
WxPayRefundQueryResult result = this.wxService.getPayService().refundQuery("1", "", "", "");
WxPayRefundQueryResult result;
result = this.wxService.getPayService().refundQuery("1", "", "", "");
System.err.println(result);
result = this.wxService.getPayService().refundQuery("", "2", "", "");
System.err.println(result);
result = this.wxService.getPayService().refundQuery("", "", "3", "");