Skip to content

Commit

Permalink
Fix tests following upstream framework changes
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Jan 11, 2021
1 parent 039df1d commit cff3e4c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1041,7 +1041,7 @@ protected List<ResourceTransformer> getResourceTransformers(ApplicationContext c
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;
Expand Down

0 comments on commit cff3e4c

Please sign in to comment.