aboutsummaryrefslogtreecommitdiffstats
path: root/services/mailer/mail_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/mailer/mail_test.go')
-rw-r--r--services/mailer/mail_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/mailer/mail_test.go b/services/mailer/mail_test.go
index 1ce1020d07..6a175337ad 100644
--- a/services/mailer/mail_test.go
+++ b/services/mailer/mail_test.go
@@ -218,6 +218,7 @@ func TestGenerateAdditionalHeaders(t *testing.T) {
expected := map[string]string{
"List-ID": "user2/repo1 <repo1.user2.localhost>",
"List-Archive": "<https://try.gitea.io/user2/repo1>",
+ "List-Unsubscribe": "https://try.gitea.io/user2/repo1/issues/1",
"X-Gitea-Reason": "dummy-reason",
"X-Gitea-Sender": "< U<se>r Tw<o > ><",
"X-Gitea-Recipient": "Test",