diff --git a/introducing-interceptors/interceptors-struts/src/test/java/org/fp024/struts2/study/register/repository/PersonRepositoryTest.java b/introducing-interceptors/interceptors-struts/src/test/java/org/fp024/struts2/study/register/repository/PersonRepositoryTest.java index 53e7199..562cbf4 100644 --- a/introducing-interceptors/interceptors-struts/src/test/java/org/fp024/struts2/study/register/repository/PersonRepositoryTest.java +++ b/introducing-interceptors/interceptors-struts/src/test/java/org/fp024/struts2/study/register/repository/PersonRepositoryTest.java @@ -14,14 +14,12 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestMethodOrder; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.test.annotation.DirtiesContext; import org.springframework.test.annotation.Rollback; import org.springframework.test.context.junit.jupiter.SpringJUnitConfig; import org.springframework.transaction.annotation.Transactional; @Slf4j @TestMethodOrder(MethodOrderer.OrderAnnotation.class) -@DirtiesContext @SpringJUnitConfig(locations = {"classpath:applicationContext.xml"}) class PersonRepositoryTest { @Autowired private PersonRepository personRepository;