DATAJDBC-620 - Polishing.
Remove public modifier from tests, which is superfluous with JUnit 5. Original pull request: #256.
This commit is contained in:
committed by
Mark Paluch
parent
3d4847a552
commit
429f1b06b9
@@ -170,7 +170,7 @@ public class StringBasedJdbcQueryMappingConfigurationIntegrationTests {
|
||||
@Autowired CarRepository carRepository;
|
||||
|
||||
@Test // DATAJDBC-290
|
||||
public void customFindAllCarsUsesConfiguredResultSetExtractor() {
|
||||
void customFindAllCarsUsesConfiguredResultSetExtractor() {
|
||||
|
||||
carRepository.save(new Car(null, "Some model"));
|
||||
Iterable<Car> cars = carRepository.customFindAll();
|
||||
@@ -180,7 +180,7 @@ public class StringBasedJdbcQueryMappingConfigurationIntegrationTests {
|
||||
}
|
||||
|
||||
@Test // DATAJDBC-430
|
||||
public void customFindWithRowMapperBeanSupportingInjection() {
|
||||
void customFindWithRowMapperBeanSupportingInjection() {
|
||||
|
||||
carRepository.save(new Car(null, "Some model"));
|
||||
List<String> names = carRepository.findByNameWithRowMapperBean();
|
||||
@@ -190,7 +190,7 @@ public class StringBasedJdbcQueryMappingConfigurationIntegrationTests {
|
||||
}
|
||||
|
||||
@Test // DATAJDBC-430
|
||||
public void customFindWithResultSetExtractorBeanSupportingInjection() {
|
||||
void customFindWithResultSetExtractorBeanSupportingInjection() {
|
||||
|
||||
carRepository.save(new Car(null, "Some model"));
|
||||
Iterable<Car> cars = carRepository.findByNameWithResultSetExtractor();
|
||||
@@ -206,6 +206,4 @@ public class StringBasedJdbcQueryMappingConfigurationIntegrationTests {
|
||||
|
||||
assertThat(rowMapper).isNotNull();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user