-
- Downloads
XWIKI-22625: TestUtils#getURL doesn't take the wiki into account (#3615)
* Improve getBaseBinURL so that it fallbacks on currentWiki if this one is provided * Add a new getURL API taking into account the wiki name * Extract the wiki from the entityReference when using getURL with a reference * Fix and cover possible NPE * Move wikiName argument to the beginning to follow the URL scheme * Remove Unstable * minor fix (cherry picked from commit 77c5da6d)
Showing
- xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/pom.xml 3 additions, 0 deletions...m-core/xwiki-platform-test/xwiki-platform-test-ui/pom.xml
- xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/TestUtils.java 25 additions, 4 deletions...rm-test-ui/src/main/java/org/xwiki/test/ui/TestUtils.java
- xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/test/java/org/xwiki/test/ui/TestUtilsTest.java 77 additions, 0 deletions...est-ui/src/test/java/org/xwiki/test/ui/TestUtilsTest.java
Loading
Please register or sign in to comment