Skip to content

Commit a256272

Browse files
binarywangCopilot
andauthored
Update weixin-java-pay/src/test/java/com/github/binarywang/wxpay/v3/util/RsaCryptoUtilTest.java
Co-authored-by: Copilot <[email protected]>
1 parent 487e197 commit a256272

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

weixin-java-pay/src/test/java/com/github/binarywang/wxpay/v3/util/RsaCryptoUtilTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,11 @@ public void testEncryptFieldsWithDirectField() {
117117
try {
118118
Field nameField = ProfitSharingReceiverV3Request.class.getDeclaredField("name");
119119
boolean hasAnnotation = nameField.isAnnotationPresent(SpecEncrypt.class);
120-
System.out.println("ProfitSharingReceiverV3Request.name 字段有 @SpecEncrypt 注解: " + hasAnnotation);
121120
assertTrue(hasAnnotation, "name 字段应该有 @SpecEncrypt 注解");
122121
} catch (NoSuchFieldException e) {
123122
fail("应该能找到 name 字段");
124123
}
125124

126-
System.out.println("测试对象创建成功,name字段: " + request.getName());
127125
// 验证name字段不为null
128126
assertNotNull(request.getName());
129127
assertEquals(request.getName(), "李四");

0 commit comments

Comments
 (0)