joerghoh commented on code in PR #173:
URL:
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/173#discussion_r2059856480
##########
src/test/java/org/apache/sling/resourceresolver/impl/mapping/AliasMapEntriesTest.java:
##########
@@ -1176,7 +1177,8 @@ public void test_doRemoveAliasFromSibling() throws
Exception {
public void test_initAliasesAfterDispose() {
AliasHandler ah = mapEntries.ah;
mapEntries.dispose();
- boolean enabled = ah.initializeAliases();
- assertFalse("return value (isOptimizeAliasResolutionEnabled) should be
false", enabled);
+ ah.initializeAliases();
+ boolean enabled = ah.usesCache();
+ assertFalse("alias handler should not have set up cache", enabled);
Review Comment:
```suggestion
assertFalse("alias handler should not have set up cache",
ah.usesCache());
```
--
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]