File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
main/java/com/github/binarywang/wxpay/config
test/java/com/github/binarywang/wxpay/config Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 6
6
import com .github .binarywang .wxpay .v3 .util .PemUtils ;
7
7
import jodd .util .ResourcesUtil ;
8
8
import lombok .Data ;
9
+ import lombok .EqualsAndHashCode ;
9
10
import lombok .SneakyThrows ;
10
11
import org .apache .commons .io .IOUtils ;
11
12
import org .apache .commons .lang3 .RegExUtils ;
28
29
* @author Binary Wang (https://github.com/binarywang)
29
30
*/
30
31
@ Data
32
+ @ EqualsAndHashCode (exclude = "verifier" )
31
33
public class WxPayConfig {
32
34
private static final String DEFAULT_PAY_BASE_URL = "https://api.mch.weixin.qq.com" ;
33
35
private static final String PROBLEM_MSG = "证书文件【%s】有问题,请核实!" ;
Original file line number Diff line number Diff line change @@ -31,4 +31,10 @@ public void testInitSSLContext() throws Exception {
31
31
this .testInitSSLContext_classpath ();
32
32
this .testInitSSLContext_http ();
33
33
}
34
+
35
+ @ Test
36
+ @ SuppressWarnings ("ResultOfMethodCallIgnored" )
37
+ public void testHashCode () {
38
+ payConfig .hashCode ();
39
+ }
34
40
}
You can’t perform that action at this time.
0 commit comments