prosper icon indicating copy to clipboard operation
prosper copied to clipboard

Tags mocking isssue | AEM 6.5 | JAVA 11

Open sagaciousagi opened this issue 5 years ago • 1 comments

We have upgraded from AEM 6.3(JAVA 8) to AEM 6.5(JAVA 11). After upgrade, unit test cases related to tags stopped working.

Can you please let us know how to mock tags with AEM 6.5(JAVA11)?

nodeBuilder.content { cq:tags("sling:Folder") { fruit("cq:Tag") { apple() { "red"("cq:Tag", "jcr:title": "Red") "green"("cq:Tag", "jcr:title": "Green") } } } }

nodeBuilder.etc{ tags("sling:Folder") { fruit("cq:Tag") { apple() { "red"("cq:Tag", "jcr:title": "Red") "green"("cq:Tag", "jcr:title": "Green") } } } }

sagaciousagi avatar Jul 27 '20 17:07 sagaciousagi

You can remove the /etc/tags folder.

markdaugherty avatar Jul 27 '20 22:07 markdaugherty