Skip to content

Commit 9a928f2

Browse files
committed
fix test case
1 parent 57f5cf3 commit 9a928f2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

weixin-java-miniapp/src/test/java/cn/binarywang/wx/miniapp/api/impl/WxMaMsgServiceImplTest.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
import com.google.inject.Inject;
1010
import me.chanjar.weixin.common.api.WxConsts;
1111
import me.chanjar.weixin.common.exception.WxErrorException;
12-
import org.testng.Assert;
13-
import org.testng.annotations.Guice;
14-
import org.testng.annotations.Test;
12+
import org.testng.annotations.*;
1513

1614
import java.text.SimpleDateFormat;
1715
import java.util.Date;
@@ -68,9 +66,7 @@ public void testSendTemplateMsg() throws WxErrorException {
6866
.emphasisKeyword("keyword1.DATA")
6967
.build();
7068

71-
String msgId = this.wxService.getMsgService().sendTemplateMsg(templateMessage);
72-
Assert.assertNotNull(msgId);
73-
System.out.println(msgId);
69+
this.wxService.getMsgService().sendTemplateMsg(templateMessage);
7470
}
7571

7672
}

0 commit comments

Comments
 (0)