schaefa commented on a change in pull request #15: Feature/sling 7768: String 
Interpolation for ETC Map
URL: 
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/15#discussion_r370222948
 
 

 ##########
 File path: 
src/test/java/org/apache/sling/resourceresolver/impl/MockedResourceResolverImplTest.java
 ##########
 @@ -399,7 +400,7 @@ private Resource buildResource(String fullpath, 
Iterable<Resource> children) {
     @SuppressWarnings("unchecked")
     private Resource buildResource(String fullpath, Iterable<Resource> 
children, ResourceResolver resourceResolver, ResourceProvider<?> provider, 
String ... properties) {
         Resource resource = Mockito.mock(Resource.class);
-        Mockito.when(resource.getName()).thenReturn(getName(fullpath));
+        Mockito.when(resource.getName()).thenReturn(getResourceName(fullpath));
 
 Review comment:
   I merge in some changes from master to make it easier to merge and so this 
is not a change of mine.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to