bug
jiangqs
2023-08-18 0b413f3fd67110cfd7752f27eb171bde06edc4b4
ruoyi-modules/ruoyi-system/src/test/java/com/ruoyi/system/systemTest.java
@@ -1,9 +1,13 @@
package com.ruoyi.system;
import com.ruoyi.system.service.staff.SysWxCpService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import javax.annotation.Resource;
/**
 * @ClassName systemTest
@@ -16,7 +20,11 @@
@SpringBootTest(classes = RuoYiSystemApplication.class)
public class systemTest {
    @Resource
    private SysWxCpService sysWxCpService;
    @Test
    public void main() {
        sysWxCpService.syncDepartment();
    }
}