Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Testing Sling Mock 2.2.6
Description
latest version of sling resource resolver implementation do not register the ResourceResolverFactory unless at least one ResourceProvider instance is registered.
when using ResourceResolverType.NONE this did not work because the ResourceResolverFactory was tried to initialize before starting the unit test. doing this lazily on first acccess solves the problem.
Attachments
Issue Links
- is related to
-
SLING-6841 Sling Mocks should inject ResourceResolverFactory by default
- Closed