File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
main/java/com/github/binarywang/wxpay/config
test/java/com/github/binarywang/wxpay/service/impl Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public boolean useSandboxForWxPay() {
135
135
136
136
public SSLContext initSSLContext () {
137
137
if (null == mchId ) {
138
- throw new IllegalArgumentException ("请確保mchId已設置 " );
138
+ throw new IllegalArgumentException ("请确保商户号mch_id已设置 " );
139
139
}
140
140
141
141
File file = new File (this .keyPath );
Original file line number Diff line number Diff line change @@ -210,4 +210,23 @@ public void testMicropay() throws Exception {
210
210
.build ());
211
211
this .logger .info (result .toString ());
212
212
}
213
+
214
+ @ Test
215
+ public void testGetConfig () throws Exception {
216
+ }
217
+
218
+ @ Test
219
+ public void testSetConfig () throws Exception {
220
+ }
221
+
222
+ @ Test
223
+ public void testReverseOrder () throws Exception {
224
+ WxPayOrderReverseResult result = this .payService .reverseOrder (WxPayOrderReverseRequest .newBuilder ()
225
+ .outTradeNo ("1111" )
226
+ .build ());
227
+ assertNotNull (result );
228
+ this .logger .info (result .toString ());
229
+
230
+ }
231
+
213
232
}
You can’t perform that action at this time.
0 commit comments