diff --git a/notify-dingtalk/src/test/java/com/cicdi/notify/dingtalk/DingTalkTest.java b/notify-dingtalk/src/test/java/com/cicdi/notify/dingtalk/DingTalkTest.java index 1aa355e..352e1bf 100644 --- a/notify-dingtalk/src/test/java/com/cicdi/notify/dingtalk/DingTalkTest.java +++ b/notify-dingtalk/src/test/java/com/cicdi/notify/dingtalk/DingTalkTest.java @@ -1,11 +1,12 @@ package com.cicdi.notify.dingtalk; -import com.alibaba.fastjson.JSONObject; +import com.alibaba.fastjson.JSON; import com.cicdi.notify.*; import com.cicdi.notify.template.AbstractTemplateManager; import com.cicdi.notify.template.Template; import com.cicdi.notify.template.TemplateManager; import com.cicdi.notify.template.TemplateProperties; +import org.junit.Before; import org.junit.Test; import java.util.HashMap; @@ -15,14 +16,32 @@ import java.util.Map; * @author xueye */ public class DingTalkTest { + /** + * 模板管理器 + */ + private TemplateManager templateManager; + /** + * 通知器管理器 + */ + private NotifierManager notifierManager; + + /** + * 测试钉钉消息发送 + */ @Test public void test() { + Notifier