#252 原有图文素材管理接口增加留言管理所需两个参数:need_open_comment 和 only_fans_can_comment
This commit is contained in:
@@ -175,7 +175,7 @@ public class WxMpMaterialServiceImplTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test(dependsOnMethods = {"testAddNews"})
|
||||
@Test(dependsOnMethods = {"testAddNews","testUploadMaterial"})
|
||||
public void testGetNewsInfo() throws WxErrorException {
|
||||
WxMpMaterialNews wxMpMaterialNewsSingle = this.wxService
|
||||
.getMaterialService().materialNewsInfo(this.singleNewsMediaId);
|
||||
@@ -183,6 +183,9 @@ public class WxMpMaterialServiceImplTest {
|
||||
.getMaterialService().materialNewsInfo(this.multiNewsMediaId);
|
||||
assertNotNull(wxMpMaterialNewsSingle);
|
||||
assertNotNull(wxMpMaterialNewsMultiple);
|
||||
|
||||
System.out.println(wxMpMaterialNewsSingle);
|
||||
System.out.println(wxMpMaterialNewsMultiple);
|
||||
}
|
||||
|
||||
@Test(dependsOnMethods = {"testGetNewsInfo"})
|
||||
|
||||
Reference in New Issue
Block a user