mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-09-23 04:23:51 +08:00
update
This commit is contained in:
@@ -22,7 +22,7 @@ public class WxCpBaseAPITest {
|
|||||||
public void testRefreshAccessToken() throws WxErrorException {
|
public void testRefreshAccessToken() throws WxErrorException {
|
||||||
WxCpConfigStorage configStorage = wxService.wxCpConfigStorage;
|
WxCpConfigStorage configStorage = wxService.wxCpConfigStorage;
|
||||||
String before = configStorage.getAccessToken();
|
String before = configStorage.getAccessToken();
|
||||||
wxService.getAccessToken();
|
wxService.getAccessToken(false);
|
||||||
|
|
||||||
String after = configStorage.getAccessToken();
|
String after = configStorage.getAccessToken();
|
||||||
|
|
||||||
|
@@ -22,7 +22,7 @@ public class WxMpBaseAPITest {
|
|||||||
public void testRefreshAccessToken() throws WxErrorException {
|
public void testRefreshAccessToken() throws WxErrorException {
|
||||||
WxMpConfigStorage configStorage = wxService.wxMpConfigStorage;
|
WxMpConfigStorage configStorage = wxService.wxMpConfigStorage;
|
||||||
String before = configStorage.getAccessToken();
|
String before = configStorage.getAccessToken();
|
||||||
wxService.getAccessToken();
|
wxService.getAccessToken(false);
|
||||||
|
|
||||||
String after = configStorage.getAccessToken();
|
String after = configStorage.getAccessToken();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user