Fix tests following upstream framework changes

pull/24986/head
Phillip Webb 4 years ago
parent 039df1d96d
commit cff3e4c831

@ -1041,7 +1041,7 @@ class WebMvcAutoConfigurationTests {
protected Map<String, List<Resource>> getMappingLocations(HandlerMapping mapping) {
Map<String, List<Resource>> mappingLocations = new LinkedHashMap<>();
getHandlerMap(mapping).forEach((key, value) -> {
Object locations = ReflectionTestUtils.getField(value, "locations");
Object locations = ReflectionTestUtils.getField(value, "locationsToUse");
mappingLocations.put(key, (List<Resource>) locations);
});
return mappingLocations;

Loading…
Cancel
Save