From b04bff049601b057de61c42f9647b4c1554a9b04 Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Sun, 19 Oct 2014 23:28:18 +0800 Subject: [PATCH] update test code --- .../java/me/chanjar/weixin/api/WxBaseAPITest.java | 7 ------- src/test/resources/test-config.sample.xml | 13 +++++++------ 2 files changed, 7 insertions(+), 13 deletions(-) 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