[GitHub] [sling-org-apache-sling-resourceresolver] schaefa commented on a change in pull request #15: Feature/sling 7768: String Interpolation for ETC Map

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [sling-org-apache-sling-resourceresolver] schaefa commented on a change in pull request #15: Feature/sling 7768: String Interpolation for ETC Map

GitBox
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_r370326062
 
 

 ##########
 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:
   Kept it as this was not my change

----------------------------------------------------------------
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:
[hidden email]


With regards,
Apache Git Services