File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
spring-data-mongodb/src/test/java/org/springframework/data/mongodb/config Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1717
1818import static org .assertj .core .api .Assertions .*;
1919
20- import org .junit .Test ;
21- import org .junit .runner .RunWith ;
22-
20+ import org .junit .jupiter .api .Test ;
21+ import org .junit .jupiter .api .extension .ExtendWith ;
2322import org .springframework .beans .factory .annotation .Autowired ;
2423import org .springframework .context .annotation .Configuration ;
2524import org .springframework .data .mongodb .core .geo .GeoJsonJackson3Module ;
26- import org .springframework .data .mongodb .core .geo .GeoJsonModule ;
2725import org .springframework .data .web .config .EnableSpringDataWebSupport ;
2826import org .springframework .test .context .ContextConfiguration ;
29- import org .springframework .test .context .junit4 . SpringRunner ;
27+ import org .springframework .test .context .junit . jupiter . SpringExtension ;
3028
3129/**
3230 * Integration tests for {@link GeoJsonJackson3Configuration}.
3331 *
3432 * @author Bjorn Harvold
3533 * @author Jens Schauder
3634 */
37- @ RunWith ( SpringRunner .class )
35+ @ ExtendWith ( SpringExtension .class )
3836@ ContextConfiguration
3937public class GeoJsonJackson3ConfigurationIntegrationTests {
4038
4139 @ Configuration
4240 @ EnableSpringDataWebSupport
4341 static class Config {}
4442
45- @ Autowired
46- GeoJsonJackson3Module geoJsonModule ;
43+ @ Autowired GeoJsonJackson3Module geoJsonModule ;
4744
4845 @ Test // GH-5100
4946 public void picksUpGeoJsonModuleConfigurationByDefault () {
You can’t perform that action at this time.
0 commit comments