diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-10-10 13:54:09 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-10-10 13:55:23 +0400 |
commit | 0646c52841a150dbc60810a38f9af5550c5ce109 (patch) | |
tree | d938872d13f87a0a923b775321acdff671a7a050 /plugins/sonar-email-notifications-plugin/src/test | |
parent | d7b95d299268535ab96ba9224aecb9bbd6a244b2 (diff) | |
download | sonarqube-0646c52841a150dbc60810a38f9af5550c5ce109.tar.gz sonarqube-0646c52841a150dbc60810a38f9af5550c5ce109.zip |
SONAR-2740 Email notifications: add prefix to the sender's name
Diffstat (limited to 'plugins/sonar-email-notifications-plugin/src/test')
-rw-r--r-- | plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/EmailNotificationChannelTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/EmailNotificationChannelTest.java b/plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/EmailNotificationChannelTest.java index 0dc4182d0b3..b02fbf86001 100644 --- a/plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/EmailNotificationChannelTest.java +++ b/plugins/sonar-email-notifications-plugin/src/test/java/org/sonar/plugins/emailnotifications/EmailNotificationChannelTest.java @@ -142,7 +142,7 @@ public class EmailNotificationChannelTest { assertThat(email.getHeaderValue("List-ID"), is("Sonar <sonar.nemo.sonarsource.org>")); assertThat(email.getHeaderValue("List-Archive"), is("http://nemo.sonarsource.org")); - assertThat(email.getHeaderValue("From"), is("Full Username <server@nowhere>")); + assertThat(email.getHeaderValue("From"), is("\"Full Username (Sonar)\" <server@nowhere>")); assertThat(email.getHeaderValue("To"), is("<user@nowhere>")); assertThat(email.getHeaderValue("Subject"), is("[SONAR] Review #3")); assertThat(email.getBody(), is("I'll take care of this violation.")); |