diff --git a/src/test/java/me/chanjar/weixin/api/WxBaseAPITest.java b/src/test/java/me/chanjar/weixin/api/WxBaseAPITest.java index 5ef5f3c7..af524615 100644 --- a/src/test/java/me/chanjar/weixin/api/WxBaseAPITest.java +++ b/src/test/java/me/chanjar/weixin/api/WxBaseAPITest.java @@ -32,11 +32,4 @@ public class WxBaseAPITest { Assert.assertTrue(StringUtils.isNotBlank(after)); } - public void testCheckSignature() throws WxErrorException { - String timestamp = "1413729506"; - String nonce = "1753282854"; - String signature = "af210121811dce2d6f306612cb133cba490e818b"; - Assert.assertTrue(wxService.checkSignature(timestamp, nonce, signature)); - } - } diff --git a/src/test/resources/test-config.sample.xml b/src/test/resources/test-config.sample.xml index 1586364a..501620cd 100644 --- a/src/test/resources/test-config.sample.xml +++ b/src/test/resources/test-config.sample.xml @@ -1,8 +1,9 @@ - - - - - - + 公众号appID + 公众号appsecret + 公众号Token + 公众号EncodingAESKey + 可以不填写 + 可以不填写 + 某个加你公众号的用户的openId