mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 02:28:25 +08:00 
			
		
		
		
	修复单元测试
This commit is contained in:
		| @ -1,12 +1,10 @@ | |||||||
| package me.chanjar.weixin.cp.api.impl; | package me.chanjar.weixin.cp.api.impl; | ||||||
|  |  | ||||||
| import com.google.inject.Inject; | import com.google.inject.Inject; | ||||||
| import me.chanjar.weixin.common.exception.WxErrorException; |  | ||||||
| import me.chanjar.weixin.cp.api.ApiTestModule; | import me.chanjar.weixin.cp.api.ApiTestModule; | ||||||
| import me.chanjar.weixin.cp.api.WxCpService; | import me.chanjar.weixin.cp.api.WxCpService; | ||||||
| import me.chanjar.weixin.cp.bean.WxCpDepart; | import me.chanjar.weixin.cp.bean.WxCpDepart; | ||||||
| import org.testng.annotations.Guice; | import org.testng.annotations.*; | ||||||
| import org.testng.annotations.Test; |  | ||||||
|  |  | ||||||
| import java.util.List; | import java.util.List; | ||||||
|  |  | ||||||
| @ -31,7 +29,7 @@ public class WxCpDepartmentServiceImplTest { | |||||||
|     WxCpDepart cpDepart = new WxCpDepart(); |     WxCpDepart cpDepart = new WxCpDepart(); | ||||||
|     cpDepart.setName("子部门" + System.currentTimeMillis()); |     cpDepart.setName("子部门" + System.currentTimeMillis()); | ||||||
|     cpDepart.setParentId(1); |     cpDepart.setParentId(1); | ||||||
|     cpDepart.setOrder(1); |     cpDepart.setOrder(1L); | ||||||
|     Integer departId = this.wxCpService.getDepartmentService().create(cpDepart); |     Integer departId = this.wxCpService.getDepartmentService().create(cpDepart); | ||||||
|     System.out.println(departId); |     System.out.println(departId); | ||||||
|   } |   } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang