1
0
mirror of synced 2025-12-26 20:48:00 +08:00

:art: 优化开放平台模块OAuth2服务类的构造方法

This commit is contained in:
Binary Wang
2023-12-07 16:36:17 +08:00
parent 08196cfeb9
commit 2412df32ff
2 changed files with 10 additions and 4 deletions

View File

@@ -12,11 +12,12 @@ import org.testng.annotations.Test;
* created on 2020-10-19
*/
public class WxOpenOAuth2ServiceImplTest {
private final WxOpenOAuth2ServiceImpl service = new WxOpenOAuth2ServiceImpl("123", "");
private final WxOpenOAuth2ServiceImpl service = new WxOpenOAuth2ServiceImpl("123", "",
new WxOpenInMemoryConfigStorage());
@BeforeTest
public void init() {
this.service.setWxOpenConfigStorage(new WxOpenInMemoryConfigStorage());
// this.service.setWxOpenConfigStorage(new WxOpenInMemoryConfigStorage());
}
@Test