EntmicroDepartmentPathServiceTest.java
1.01 KB
package cn.com.glsx.entmicro.service;
import cn.com.glsx.entmicro.Main;
import cn.com.glsx.entmicro.entity.EntmicroDepartmentPath;
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.SpringJUnit4ClassRunner;
import static org.junit.Assert.*;
/**
* @author Lichongyuan
* @Description:
* @date 2021/9/27 9:18
*/
@RunWith(SpringJUnit4ClassRunner.class)
@SpringBootTest(classes = Main.class)
public class EntmicroDepartmentPathServiceTest {
@Autowired
private EntmicroDepartmentPathService entmicroDepartmentPathService;
@Test
public void deleteDepartmentPath() {
EntmicroDepartmentPath entmicroDepartmentPath = new EntmicroDepartmentPath();
entmicroDepartmentPath.setSubId(123);
entmicroDepartmentPath.setDelFlag((byte) 888);
entmicroDepartmentPathService.deleteDepartmentPath(entmicroDepartmentPath);
}
}