[xwiki-notifications] [xwiki/xwiki-platform] 483061: [Misc] Improve environment handling during tests