diff options
author | Bjørn Christian Seime <bjorncs@vespa.ai> | 2023-10-12 15:57:28 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@vespa.ai> | 2023-10-12 15:57:28 +0200 |
commit | 65b2ed282c186772cff0735f6de4b6bab64f3a89 (patch) | |
tree | 14c568e8ad3ff9368a2607caf40c5853048f368f /controller-server/src/test/java | |
parent | 399c88527dd838622fa12a9e9218e485d0d282b4 (diff) |
Add custom email content to notification
Render emails using Apache Velocity
Diffstat (limited to 'controller-server/src/test/java')
-rw-r--r-- | controller-server/src/test/java/com/yahoo/vespa/hosted/controller/notification/NotifierTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/notification/NotifierTest.java b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/notification/NotifierTest.java index 1251963f01c..f64ed3740d2 100644 --- a/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/notification/NotifierTest.java +++ b/controller-server/src/test/java/com/yahoo/vespa/hosted/controller/notification/NotifierTest.java @@ -75,7 +75,7 @@ public class NotifierTest { var mail = mailer.inbox(email.getEmailAddress()).get(0); assertEquals("[WARNING] Test package Vespa Notification for tenant1.default.default", mail.subject()); - assertEquals(new String(NotifierTest.class.getResourceAsStream("/mail/notification.txt").readAllBytes()), mail.htmlMessage().get()); + assertEquals(new String(NotifierTest.class.getResourceAsStream("/mail/notification.html").readAllBytes()), mail.htmlMessage().get()); } @Test |