diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-07 05:08:58 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-07 05:08:58 +0000 |
commit | 232edc62372730de6045e958821c16dee14ac65f (patch) | |
tree | 40059552692d15f6da0d2a27acff6cfc3907ff8d /test/unit | |
parent | d4dd35a78c613278c57cbb7492054bc30536472b (diff) | |
download | redmine-232edc62372730de6045e958821c16dee14ac65f.tar.gz redmine-232edc62372730de6045e958821c16dee14ac65f.zip |
Ignore emails with "Auto-Submitted: auto-*" header (#11338).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9924 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/mail_handler_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb index 68a0c8f2e..0e94fcc18 100644 --- a/test/unit/mail_handler_test.rb +++ b/test/unit/mail_handler_test.rb @@ -382,7 +382,8 @@ class MailHandlerTest < ActiveSupport::TestCase [ "X-Auto-Response-Suppress: OOF", "Auto-Submitted: auto-replied", - "Auto-Submitted: Auto-Replied" + "Auto-Submitted: Auto-Replied", + "Auto-Submitted: auto-generated" ].each do |header| raw = IO.read(File.join(FIXTURES_PATH, 'ticket_on_given_project.eml')) raw = header + "\n" + raw |