File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public void testGetById() throws Exception {
74
74
75
75
@ Test
76
76
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 );
78
78
assertNotEquals (users .size (), 0 );
79
79
for (WxCpUser user : users ) {
80
80
System .out .println (ToStringBuilder .reflectionToString (user , ToStringStyle .MULTI_LINE_STYLE ));
@@ -83,7 +83,7 @@ public void testListByDepartment() throws Exception {
83
83
84
84
@ Test
85
85
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 );
87
87
assertNotEquals (users .size (), 0 );
88
88
for (WxCpUser user : users ) {
89
89
System .out .println (ToStringBuilder .reflectionToString (user , ToStringStyle .MULTI_LINE_STYLE ));
You can’t perform that action at this time.
0 commit comments