|
3 | 3 | import java.io.File;
|
4 | 4 | import java.util.Date;
|
5 | 5 |
|
6 |
| -import ch.qos.logback.classic.BasicConfigurator; |
7 |
| -import com.fasterxml.jackson.core.JsonProcessingException; |
8 |
| -import com.fasterxml.jackson.databind.ObjectMapper; |
9 |
| -import me.chanjar.weixin.mp.bean.kefu.result.*; |
10 | 6 | import org.joda.time.DateTime;
|
11 | 7 | import org.testng.Assert;
|
12 | 8 | import org.testng.annotations.DataProvider;
|
13 | 9 | import org.testng.annotations.Guice;
|
14 | 10 | import org.testng.annotations.Test;
|
15 | 11 |
|
| 12 | +import com.fasterxml.jackson.core.JsonProcessingException; |
| 13 | +import com.fasterxml.jackson.databind.ObjectMapper; |
16 | 14 | import com.google.inject.Inject;
|
17 | 15 |
|
18 | 16 | import me.chanjar.weixin.common.exception.WxErrorException;
|
19 | 17 | import me.chanjar.weixin.mp.api.ApiTestModule;
|
20 | 18 | import me.chanjar.weixin.mp.api.ApiTestModule.WxXmlMpInMemoryConfigStorage;
|
21 | 19 | import me.chanjar.weixin.mp.api.WxMpServiceImpl;
|
22 | 20 | import me.chanjar.weixin.mp.bean.kefu.request.WxMpKfAccountRequest;
|
| 21 | +import me.chanjar.weixin.mp.bean.kefu.result.WxMpKfInfo; |
| 22 | +import me.chanjar.weixin.mp.bean.kefu.result.WxMpKfList; |
| 23 | +import me.chanjar.weixin.mp.bean.kefu.result.WxMpKfMsgList; |
| 24 | +import me.chanjar.weixin.mp.bean.kefu.result.WxMpKfOnlineList; |
| 25 | +import me.chanjar.weixin.mp.bean.kefu.result.WxMpKfSessionGetResult; |
| 26 | +import me.chanjar.weixin.mp.bean.kefu.result.WxMpKfSessionList; |
| 27 | +import me.chanjar.weixin.mp.bean.kefu.result.WxMpKfSessionWaitCaseList; |
23 | 28 |
|
24 | 29 | /**
|
25 | 30 | * 测试客服相关接口
|
@@ -121,7 +126,7 @@ public void testKfSessionClose(String kfAccount, String openid)
|
121 | 126 | }
|
122 | 127 |
|
123 | 128 | @Test(dataProvider = "getKfAccountAndOpenid")
|
124 |
| - public void testKfSessionGet(@SuppressWarnings("unused") String kfAccount, |
| 129 | + public void testKfSessionGet(String kfAccount, |
125 | 130 | String openid) throws WxErrorException {
|
126 | 131 | WxMpKfSessionGetResult result = this.wxService.getKefuService()
|
127 | 132 | .kfSessionGet(openid);
|
|
0 commit comments