Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
up to this version sling models in unit tests only worked when registered beforehand with the addModelsForPackage(...) method.
when running unit test with sling mocks existing bundle headers in MANIFEST files in the class path should be scanned for Sling-Model-Packages and Sling-Model-Classes entries, and those should be registered automatically.
Attachments
Issue Links
- is related to
-
SLING-7712 sling-mock: make register Sling Models from classpath optional
- Closed