Skip to content

Commit 2e5d32e

Browse files
Copilotbinarywang
andcommitted
修复 WxCpTpCustomizedServiceImplTest 中遗漏的 openMocks 更新
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
1 parent a0421ea commit 2e5d32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-cp/src/test/java/me/chanjar/weixin/cp/tp/service/impl/WxCpTpCustomizedServiceImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class WxCpTpCustomizedServiceImplTest {
3939
*/
4040
@BeforeClass
4141
public void setUp() {
42-
MockitoAnnotations.initMocks(this);
42+
MockitoAnnotations.openMocks(this);
4343
configStorage = new WxCpTpDefaultConfigImpl();
4444
when(wxCpTpService.getWxCpTpConfigStorage()).thenReturn(configStorage);
4545
wxCpTpCustomizedService = new WxCpTpCustomizedServiceImpl(wxCpTpService);

0 commit comments

Comments
 (0)