From e3f483a20f1beb65437d02b79452423014553f2c Mon Sep 17 00:00:00 2001 From: Simon Urli Date: Fri, 19 Jan 2024 09:17:26 +0100 Subject: [PATCH] XWIKI-21752: Email notifications events description do not display the user avatar anymore * Fix the wrong expectation for NotificationEmailsIT tests when checking mail content (was containing bad code for users' avatars) --- .../src/test/resources/expectedHtmlMail1.txt | 10 +++------- .../src/test/resources/expectedHtmlMail2.txt | 10 +++------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/resources/expectedHtmlMail1.txt b/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/resources/expectedHtmlMail1.txt index b199973308a7..c10b4dd8d73d 100644 --- a/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/resources/expectedHtmlMail1.txt +++ b/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/resources/expectedHtmlMail1.txt @@ -10,13 +10,9 @@ Title 1 - created by - - NotificationsEmailsITuser1 - - NotificationsEmailsITuser1 - - + created by N + NotificationsEmailsITuser1 +
moments ago diff --git a/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/resources/expectedHtmlMail2.txt b/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/resources/expectedHtmlMail2.txt index a585f2dc6f8b..95f013bd2d88 100644 --- a/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/resources/expectedHtmlMail2.txt +++ b/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-test/xwiki-platform-notifications-test-docker/src/test/resources/expectedHtmlMail2.txt @@ -10,13 +10,9 @@
Title 2 - created by - - NotificationsEmailsITuser1 - - NotificationsEmailsITuser1 - - + created by N + NotificationsEmailsITuser1 +
moments ago