REM:
1. 增加单元测试数据库操作回滚
This commit is contained in:
HuangXin 2020-04-30 12:31:48 +08:00
parent 2fbf0f3e11
commit 05701262b1
2 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,6 @@ import org.springframework.transaction.annotation.Transactional;
@SpringBootTest @SpringBootTest
@Slf4j @Slf4j
@FixMethodOrder(MethodSorters.NAME_ASCENDING) @FixMethodOrder(MethodSorters.NAME_ASCENDING)
@Transactional
@Rollback
public class DisposeDeviceMapperTest extends InitTestEnvironment { public class DisposeDeviceMapperTest extends InitTestEnvironment {
/** /**
* The Object mapper. * The Object mapper.

View File

@ -27,6 +27,8 @@ import org.springframework.transaction.annotation.Transactional;
@SpringBootTest @SpringBootTest
@Slf4j @Slf4j
@FixMethodOrder(MethodSorters.NAME_ASCENDING) @FixMethodOrder(MethodSorters.NAME_ASCENDING)
@Transactional
@Rollback
public class DisposeNodeManagerTest extends InitTestEnvironment { public class DisposeNodeManagerTest extends InitTestEnvironment {
/** /**
* The Used ip addr. * The Used ip addr.