Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22244
e93f8b46-1217-0410-a6f0-
8f06a7374b81
'Issue-Id' => issue.id,
'Issue-Author' => issue.author.login,
'Issue-Assignee' => assignee_for_header(issue)
+ redmine_headers 'Issue-Priority' => issue.priority.name if issue.priority
message_id issue
references issue
@author = issue.author
'Issue-Id' => issue.id,
'Issue-Author' => issue.author.login,
'Issue-Assignee' => assignee_for_header(issue)
+ redmine_headers 'Issue-Priority' => issue.priority.name if issue.priority
message_id journal
references issue
@author = journal.user
# 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