8000 修复单元测试 · linlinjava/WxJava@6f6d0ea · GitHub
[go: up one dir, main page]

Skip to content

Commit 6f6d0ea

Browse files
committed
修复单元测试
1 parent 9824420 commit 6f6d0ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl/WxCpUserServiceImplTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void testGetById() throws Exception {
7474

7575
@Test
7676
public void testListByDepartment() throws Exception {
77-
List<WxCpUser> users = this.wxCpService.getUserService().listByDepartment(1, true, 0);
77+
List<WxCpUser> users = this.wxCpService.getUserService().listByDepartment(1L, true, 0);
7878
assertNotEquals(users.size(), 0);
7979
for (WxCpUser user : users) {
8080
System.out.println(ToStringBuilder.reflectionToString(user, ToStringStyle.MULTI_LINE_STYLE));
@@ -83,7 +83,7 @@ public void testListByDepartment() throws Exception {
8383

8484
@Test
8585
public void testListSimpleByDepartment() throws Exception {
86-
List<WxCpUser> users = this.wxCpService.getUserService().listSimpleByDepartment(1, true, 0);
86+
List<WxCpUser> users = this.wxCpService.getUserService().listSimpleByDepartment(1L, true, 0);
8787
assertNotEquals(users.size(), 0);
8888
for (WxCpUser user : users) {
8989
System.out.println(ToStringBuilder.reflectionToString(user, ToStringStyle.MULTI_LINE_STYLE));

0 commit comments

Comments
 (0)
0