From d49e21cb34ffe09c92ee9e5c7def2424e6eb93ca Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 26 Jan 2026 14:58:57 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E4=B8=AD=E7=9A=84=E9=87=8D=E5=A4=8D=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com> --- .../cp/api/impl/WxCpServiceGetMsgAuditAccessTokenTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl/WxCpServiceGetMsgAuditAccessTokenTest.java b/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl/WxCpServiceGetMsgAuditAccessTokenTest.java index f2dec5f6d..9d2888a28 100644 --- a/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl/WxCpServiceGetMsgAuditAccessTokenTest.java +++ b/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl/WxCpServiceGetMsgAuditAccessTokenTest.java @@ -174,7 +174,6 @@ public class WxCpServiceGetMsgAuditAccessTokenTest { public void testGetMsgAuditAccessToken_WithoutSecret() { config.setMsgAuditSecret(null); BaseWxCpServiceImpl service = createTestService(config); - service.setWxCpConfigStorage(config); // 验证当 secret 为 null 时抛出异常 assertThatThrownBy(() -> service.getMsgAuditAccessToken(true)) @@ -189,7 +188,6 @@ public class WxCpServiceGetMsgAuditAccessTokenTest { public void testGetMsgAuditAccessToken_WithEmptySecret() { config.setMsgAuditSecret(" "); BaseWxCpServiceImpl service = createTestService(config); - service.setWxCpConfigStorage(config); // 验证当 secret 为空字符串时抛出异常 assertThatThrownBy(() -> service.getMsgAuditAccessToken(true))