Skip to content

Commit

Permalink
fix: failed test
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Astappiev <[email protected]>
  • Loading branch information
astappiev committed May 16, 2024
1 parent 15bcb5e commit 23b9507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/de/l3s/mail/message/MessageBuilderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ void testConfirmationEmail() {
please use this link to confirm your mail address:
https://learnweb/hash
You can just ignore this email, if you haven't requested it.
If you did not request a new password, you can ignore this email, or let us know by replying to this email.
_____________________________________
Best regards,
Learnweb Team""", builder.buildPlainText(msg));
assertEquals("<html><head><meta charset=\"UTF-8\"></head><body><p>Hello testuser1,</p><p>please use this link to confirm your mail address:"
+ "<br/><a href=\"https://learnweb/hash\">https://learnweb/hash</a></p><p>You can just ignore this email, if you haven't requested it.</p>"
+ "<br/><a href=\"https://learnweb/hash\">https://learnweb/hash</a></p><p>If you did not request a new password, you can ignore this email, or let us know by replying to this email.</p>"
+ "<footer><hr/>Best regards,<br/>Learnweb Team</footer></body></html>", builder.buildHtmlText(msg));
}

Expand Down

0 comments on commit 23b9507

Please sign in to comment.