This commit is contained in:
Daniel Qian 2015-01-20 14:31:52 +08:00
parent 5c7448f212
commit d0825ca396
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();