mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 18:46:10 +08:00 
			
		
		
		
	修复单元测试
This commit is contained in:
		| @ -74,7 +74,7 @@ public class WxCpUserServiceImplTest { | |||||||
|  |  | ||||||
|   @Test |   @Test | ||||||
|   public void testListByDepartment() throws Exception { |   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); |     assertNotEquals(users.size(), 0); | ||||||
|     for (WxCpUser user : users) { |     for (WxCpUser user : users) { | ||||||
|       System.out.println(ToStringBuilder.reflectionToString(user, ToStringStyle.MULTI_LINE_STYLE)); |       System.out.println(ToStringBuilder.reflectionToString(user, ToStringStyle.MULTI_LINE_STYLE)); | ||||||
| @ -83,7 +83,7 @@ public class WxCpUserServiceImplTest { | |||||||
|  |  | ||||||
|   @Test |   @Test | ||||||
|   public void testListSimpleByDepartment() throws Exception { |   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); |     assertNotEquals(users.size(), 0); | ||||||
|     for (WxCpUser user : users) { |     for (WxCpUser user : users) { | ||||||
|       System.out.println(ToStringBuilder.reflectionToString(user, ToStringStyle.MULTI_LINE_STYLE)); |       System.out.println(ToStringBuilder.reflectionToString(user, ToStringStyle.MULTI_LINE_STYLE)); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Binary Wang
					Binary Wang