Spring Boot 2.5.x compatible updates in spring-data-jpa-repo
This commit is contained in:
parent
cd3868d863
commit
8c5391ca75
|
@ -21,7 +21,7 @@ import com.baeldung.boot.domain.Location;
|
|||
import com.baeldung.boot.domain.Store;
|
||||
|
||||
@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 JpaRepositoriesIntegrationTest {
|
||||
@Autowired
|
||||
private LocationRepository locationRepository;
|
||||
|
|
Loading…
Reference in New Issue