From d0825ca3969a91182713b3368f483ac5744069c7 Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Tue, 20 Jan 2015 14:31:52 +0800 Subject: [PATCH] update --- .../src/test/java/me/chanjar/weixin/cp/api/WxCpBaseAPITest.java | 2 +- .../src/test/java/me/chanjar/weixin/mp/api/WxMpBaseAPITest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/WxCpBaseAPITest.java b/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/WxCpBaseAPITest.java index 606cca9b..d8757f34 100644 --- a/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/WxCpBaseAPITest.java +++ b/weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/WxCpBaseAPITest.java @@ -22,7 +22,7 @@ public class WxCpBaseAPITest { public void testRefreshAccessToken() throws WxErrorException { WxCpConfigStorage configStorage = wxService.wxCpConfigStorage; String before = configStorage.getAccessToken(); - wxService.getAccessToken(); + wxService.getAccessToken(false); String after = configStorage.getAccessToken(); diff --git a/weixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/WxMpBaseAPITest.java b/weixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/WxMpBaseAPITest.java index e773f117..cf01bfbc 100644 --- a/weixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/WxMpBaseAPITest.java +++ b/weixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/WxMpBaseAPITest.java @@ -22,7 +22,7 @@ public class WxMpBaseAPITest { public void testRefreshAccessToken() throws WxErrorException { WxMpConfigStorage configStorage = wxService.wxMpConfigStorage; String before = configStorage.getAccessToken(); - wxService.getAccessToken(); + wxService.getAccessToken(false); String after = configStorage.getAccessToken();