Skip to content

Commit

Permalink
XWIKI-21752: Email notifications events description do not display th…
Browse files Browse the repository at this point in the history
…e user avatar anymore

  * Fix the wrong expectation for NotificationEmailsIT tests when
    checking mail content (was containing bad code for users' avatars)
  • Loading branch information
surli committed Jan 19, 2024
1 parent 425af15 commit e3f483a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@
</div>
<a color="#0088CC" style="color: #0088CC; text-decoration: none;" href="https://externaldomain:4242/xwiki/bin/view/NotificationsEmailTest/Page1">Title 1</a>
</div>
created by
<span class="notification-event-user" data-xwiki-lightbox="false">
<img src="https://externaldomain:4242/xwiki/bin/skin/resources/icons/xwiki/noavatar.png?cache-version=\E[0-9]+\Q" alt="NotificationsEmailsITuser1"/>
<span class="wikilink">
<a href="https://externaldomain:4242/xwiki/bin/view/XWiki/NotificationsEmailsITuser1">NotificationsEmailsITuser1</a>
</span>
</span>
created by <img src="cid:NotificationsEmailsITuser1.jpg" alt="N" width="16" height="16" style="vertical-align: middle;"/>
<a color="#0088CC" style="color: #0088CC; text-decoration: none;" href="https://externaldomain:4242/xwiki/bin/view/XWiki/NotificationsEmailsITuser1">NotificationsEmailsITuser1</a>

<div>
<small style="color: #777777; font-size: 0.8em;">
moments ago
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@
</div>
<a color="#0088CC" style="color: #0088CC; text-decoration: none;" href="https://externaldomain:4242/xwiki/bin/view/NotificationsEmailTest/Page2">Title 2</a>
</div>
created by
<span class="notification-event-user" data-xwiki-lightbox="false">
<img src="https://externaldomain:4242/xwiki/bin/skin/resources/icons/xwiki/noavatar.png?cache-version=\E[0-9]+\Q" alt="NotificationsEmailsITuser1"/>
<span class="wikilink">
<a href="https://externaldomain:4242/xwiki/bin/view/XWiki/NotificationsEmailsITuser1">NotificationsEmailsITuser1</a>
</span>
</span>
created by <img src="cid:NotificationsEmailsITuser1.jpg" alt="N" width="16" height="16" style="vertical-align: middle;"/>
<a color="#0088CC" style="color: #0088CC; text-decoration: none;" href="https://externaldomain:4242/xwiki/bin/view/XWiki/NotificationsEmailsITuser1">NotificationsEmailsITuser1</a>

<div>
<small style="color: #777777; font-size: 0.8em;">
moments ago
Expand Down

0 comments on commit e3f483a

Please sign in to comment.