Spring Boot 2.5.x compatible updates in spring-data-jpa-query-2
This commit is contained in:
@@ -19,7 +19,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||||||
import static org.assertj.core.api.Assertions.assertThatThrownBy;
|
import static org.assertj.core.api.Assertions.assertThatThrownBy;
|
||||||
|
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
@DataJpaTest(properties = "spring.datasource.data=classpath:insert_users.sql")
|
@DataJpaTest(properties = "spring.sql.init.data-locations=classpath:insert_users.sql")
|
||||||
public class UserRepositoryIntegrationTest {
|
public class UserRepositoryIntegrationTest {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import static org.junit.Assert.assertEquals;
|
|||||||
import static org.junit.Assert.assertTrue;
|
import static org.junit.Assert.assertTrue;
|
||||||
|
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
@DataJpaTest(properties="spring.datasource.data=classpath:import_entities.sql")
|
@DataJpaTest(properties="spring.sql.init.data-locations=classpath:import_entities.sql")
|
||||||
public class ArticleRepositoryIntegrationTest {
|
public class ArticleRepositoryIntegrationTest {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
Reference in New Issue
Block a user