JAVA-6298: Enable spring-mybatis module (#11074)

* JAVA-6298: Enable spring-mybatis module

* JAVA-6298: Rename to unit tests
This commit is contained in:
kwoyke 2021-07-29 17:39:38 +02:00 committed by GitHub
parent ef23c27c9e
commit 3ff0ae10d0
6 changed files with 6 additions and 6 deletions

View File

@ -87,7 +87,7 @@
<module>spring-jpa-2</module>
<module>spring-jdbc</module>
<module>spring-jooq</module>
<!-- <module>spring-mybatis</module> --> <!-- needs fixing in BAEL-9021 -->
<module>spring-mybatis</module>
<module>spring-persistence-simple</module>
</modules>

View File

@ -84,7 +84,7 @@
<properties>
<!-- Spring -->
<org.springframework.version>5.1.8.RELEASE</org.springframework.version>
<org.springframework.version>5.3.8</org.springframework.version>
<!-- persistence -->
<spring-mybatis.version>2.0.2</spring-mybatis.version>
<mybatis.version>3.5.2</mybatis.version>

View File

@ -8,6 +8,6 @@ import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
@ContextConfiguration(classes = PersistenceAutoConfig.class)
public class ArticleMapperBootIntegrationTest extends ArticleMapperCommonTest {
public class ArticleMapperBootUnitTest extends ArticleMapperCommonUnitTest {
}

View File

@ -5,7 +5,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import static org.assertj.core.api.Assertions.assertThat;
class ArticleMapperCommonTest {
class ArticleMapperCommonUnitTest {
@Autowired
ArticleMapper articleMapper;

View File

@ -6,6 +6,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = PersistenceConfig.class)
public class ArticleMapperIntegrationTest extends ArticleMapperCommonTest {
public class ArticleMapperUnitTest extends ArticleMapperCommonUnitTest {
}

View File

@ -6,6 +6,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath:/beans.xml")
public class ArticleMapperXMLIntegrationTest extends ArticleMapperCommonTest {
public class ArticleMapperXMLUnitTest extends ArticleMapperCommonUnitTest {
}