Branch: refs/heads/backport-3615-to-stable-16.4.x
Home:
https://github.com/xwiki/xwiki-platform
Commit: 6e3b7b9d68750b86cf41d9b1bd38175628374135
https://github.com/xwiki/xwiki-platform/commit/6e3b7b9d68750b86cf41d9b1bd38…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/pom.xml
M
xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/TestUtils.java
A
xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/test/java/org/xwiki/test/ui/TestUtilsTest.java
Log Message:
-----------
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 77c5da6df3e53a517d94423b70d7017b399b5dc6)
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki/xwiki-platform/settings/notifications