|
|
@@ -0,0 +1,20 @@
|
|
|
+package com.uas.eis;
|
|
|
+
|
|
|
+
|
|
|
+import com.uas.eis.serviceImpl.YongHService;
|
|
|
+import org.junit.Test;
|
|
|
+import org.junit.runner.RunWith;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.boot.test.context.SpringBootTest;
|
|
|
+import org.springframework.test.context.junit4.SpringRunner;
|
|
|
+
|
|
|
+@RunWith(SpringRunner.class)
|
|
|
+@SpringBootTest(classes = {UasEisApplication.class})
|
|
|
+public class YongHongTest {
|
|
|
+ @Autowired
|
|
|
+ private YongHService yongHService;
|
|
|
+ @Test
|
|
|
+ public void syncOrg() throws Exception {
|
|
|
+ yongHService.syncEmployee();
|
|
|
+ }
|
|
|
+}
|