mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-30 10:07:06 +08:00 
			
		
		
		
	修复单元测试
This commit is contained in:
		| @ -74,7 +74,7 @@ public class WxCpUserServiceImplTest { | ||||
|  | ||||
|   @Test | ||||
|   public void testListByDepartment() throws Exception { | ||||
|     List<WxCpUser> users = this.wxCpService.getUserService().listByDepartment(1, true, 0); | ||||
|     List<WxCpUser> users = this.wxCpService.getUserService().listByDepartment(1L, true, 0); | ||||
|     assertNotEquals(users.size(), 0); | ||||
|     for (WxCpUser user : users) { | ||||
|       System.out.println(ToStringBuilder.reflectionToString(user, ToStringStyle.MULTI_LINE_STYLE)); | ||||
| @ -83,7 +83,7 @@ public class WxCpUserServiceImplTest { | ||||
|  | ||||
|   @Test | ||||
|   public void testListSimpleByDepartment() throws Exception { | ||||
|     List<WxCpUser> users = this.wxCpService.getUserService().listSimpleByDepartment(1, true, 0); | ||||
|     List<WxCpUser> users = this.wxCpService.getUserService().listSimpleByDepartment(1L, true, 0); | ||||
|     assertNotEquals(users.size(), 0); | ||||
|     for (WxCpUser user : users) { | ||||
|       System.out.println(ToStringBuilder.reflectionToString(user, ToStringStyle.MULTI_LINE_STYLE)); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang