adobe / adobe/aem-core-wcm-components

Update AEM Mocks to 5.6.2

Open
#2,872 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
795
Forks
775
Avg merge
3d 22h
Merged PRs (30d)
8

Description

Update AEM Mocks to 5.6.2

Due to https://github.com/wcm-io/io.wcm.testing.aem-mock/issues/44 the externalizer also performs a ``resourceResolver.map()`` for any external URL it creates.
As there our test cases have a Mapping configured (see https://github.com/adobe/aem-core-wcm-components/blob/d2a7b02405db241fadbad02a4878f8770b36e246/bundles/core/src/test/java/com/adobe/cq/wcm/core/components/context/CoreComponentTestContext.java#L66) we have to adjust our tests.

Contributor guide

Open the contributing guide

Research direction

Update the AEM Mocks dependency to 5.6.2, then inspect CoreComponentTestContext.java and the affected test cases. Start with the configured Mapping referenced in that context and verify the tests account for resourceResolver.map() when external URLs are created. Done means the dependency is updated and the test suite passes with the new mock behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.