summaryrefslogtreecommitdiffstats
path: root/test/unit/mailer_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-05-13 08:05:32 +0000
committerGo MAEDA <maeda@farend.jp>2023-05-13 08:05:32 +0000
commit9d0b073f7d4428a7f4525cd498bb06890df2ffb7 (patch)
treec031dc4dcb1cc4c09b32fdd9a197473693fb01e0 /test/unit/mailer_test.rb
parentedb7d23e69ec9cceddf6050bdd70a27dd72c82fe (diff)
downloadredmine-9d0b073f7d4428a7f4525cd498bb06890df2ffb7.tar.gz
redmine-9d0b073f7d4428a7f4525cd498bb06890df2ffb7.zip
Add X-Redmine-Issue-Priority headers to issue notification mails (#2746).
Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22244 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/mailer_test.rb')
-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 07b7d27ae..ee029d3e6 100644
--- a/test/unit/mailer_test.rb
+++ b/test/unit/mailer_test.rb
@@ -210,6 +210,7 @@ class MailerTest < ActiveSupport::TestCase
# 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
+ assert_equal 'Low', mail.header['X-Redmine-Issue-Priority'].to_s
end
def test_email_headers_should_include_sender