summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-09-12 21:52:21 +0000
committerGo MAEDA <maeda@farend.jp>2019-09-12 21:52:21 +0000
commit59968110a3a18e86de57fb6d29fb7d3600a45189 (patch)
treec5a59fa2d116d6b7907c501477079f679e53e67e /test
parentc22ba96c92cf2779a1f630d978cb1c250d982767 (diff)
downloadredmine-59968110a3a18e86de57fb6d29fb7d3600a45189.tar.gz
redmine-59968110a3a18e86de57fb6d29fb7d3600a45189.zip
Add additional mail headers for issue tracker (#31910).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18459 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/mailer_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb
index 89b2a451d..7e129a4f5 100644
--- a/test/unit/mailer_test.rb
+++ b/test/unit/mailer_test.rb
@@ -208,6 +208,7 @@ class MailerTest < ActiveSupport::TestCase
assert_equal 'auto-generated', mail.header['Auto-Submitted'].to_s
# List-Id should not include the display name "Redmine"
assert_equal '<redmine.example.net>', mail.header['List-Id'].to_s
+ assert_equal 'Bug', mail.header['X-Redmine-Issue-Tracker'].to_s
end
def test_email_headers_should_include_sender