File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
weixin-java-cp/src/test/java/me/chanjar/weixin/cp/api/impl Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11package me .chanjar .weixin .cp .api .impl ;
22
33import com .google .inject .Inject ;
4- import me .chanjar .weixin .common .exception .WxErrorException ;
54import me .chanjar .weixin .cp .api .ApiTestModule ;
65import me .chanjar .weixin .cp .api .WxCpService ;
76import me .chanjar .weixin .cp .bean .WxCpDepart ;
8- import org .testng .annotations .Guice ;
9- import org .testng .annotations .Test ;
7+ import org .testng .annotations .*;
108
119import java .util .List ;
1210
@@ -31,7 +29,7 @@ public void testCreate() throws Exception {
3129 WxCpDepart cpDepart = new WxCpDepart ();
3230 cpDepart .setName ("子部门" + System .currentTimeMillis ());
3331 cpDepart .setParentId (1 );
34- cpDepart .setOrder (1 );
32+ cpDepart .setOrder (1L );
3533 Integer departId = this .wxCpService .getDepartmentService ().create (cpDepart );
3634 System .out .println (departId );
3735 }
You can’t perform that action at this time.
0 commit comments