Gabiesfat commented on a change in pull request #50:
URL:
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/50#discussion_r813897637
##########
File path:
src/test/java/org/apache/sling/resourceresolver/impl/mapping/ResourceMapperImplTest.java
##########
@@ -100,7 +104,10 @@ public void prepare() throws LoginException {
ctx.registerInjectActivateService(new
StringInterpolationProviderImpl());
InMemoryResourceProvider resourceProvider = new
InMemoryResourceProvider();
- resourceProvider.putResource("/"); // root
+
+
if(!testName.getMethodName().contains("mapEmptyPathWithUnreadableRoot")) {
Review comment:
This was done to recreate the scenario observed in the bug where no
resource as "/" added.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]