refactor: CP 调整access token刷新策略

This commit is contained in:
Daniel Qian
2015-01-20 14:13:11 +08:00
parent 1bca854b52
commit 1daf3a63a1
6 changed files with 70 additions and 65 deletions

View File

@@ -22,7 +22,7 @@ public class WxCpBaseAPITest {
public void testRefreshAccessToken() throws WxErrorException {
WxCpConfigStorage configStorage = wxService.wxCpConfigStorage;
String before = configStorage.getAccessToken();
wxService.accessTokenRefresh();
wxService.getAccessToken();
String after = configStorage.getAccessToken();