diff options
author | Go MAEDA <maeda@farend.jp> | 2019-10-04 11:17:33 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-10-04 11:17:33 +0000 |
commit | 5ce4a363a951e4a64afd29bbe216b83fe4fdcc12 (patch) | |
tree | 33f3e2c8f59467f435f7a0f960b21d58eff87d73 /test/unit/mail_handler_test.rb | |
parent | b83402029721fd5813e3ae6c1eea5fc644651ebf (diff) | |
download | redmine-5ce4a363a951e4a64afd29bbe216b83fe4fdcc12.tar.gz redmine-5ce4a363a951e4a64afd29bbe216b83fe4fdcc12.zip |
Fix test failure due to missing call to set_tmp_attachments_directory (#32122).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18593 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/mail_handler_test.rb')
-rw-r--r-- | test/unit/mail_handler_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb index 51a07aeec..e3c527fa1 100644 --- a/test/unit/mail_handler_test.rb +++ b/test/unit/mail_handler_test.rb @@ -543,6 +543,7 @@ class MailHandlerTest < ActiveSupport::TestCase end def test_add_issue_from_apple_mail + set_tmp_attachments_directory issue = submit_email( 'apple_mail_with_attachment.eml', :issue => {:project => 'ecookbook'} @@ -559,6 +560,7 @@ class MailHandlerTest < ActiveSupport::TestCase end def test_thunderbird_with_attachment_ja + set_tmp_attachments_directory issue = submit_email( 'thunderbird_with_attachment_ja.eml', :issue => {:project => 'ecookbook'} @@ -583,6 +585,7 @@ class MailHandlerTest < ActiveSupport::TestCase end def test_gmail_with_attachment_ja + set_tmp_attachments_directory issue = submit_email( 'gmail_with_attachment_ja.eml', :issue => {:project => 'ecookbook'} @@ -598,6 +601,7 @@ class MailHandlerTest < ActiveSupport::TestCase end def test_thunderbird_with_attachment_latin1 + set_tmp_attachments_directory issue = submit_email( 'thunderbird_with_attachment_iso-8859-1.eml', :issue => {:project => 'ecookbook'} @@ -616,6 +620,7 @@ class MailHandlerTest < ActiveSupport::TestCase end def test_gmail_with_attachment_latin1 + set_tmp_attachments_directory issue = submit_email( 'gmail_with_attachment_iso-8859-1.eml', :issue => {:project => 'ecookbook'} @@ -634,6 +639,7 @@ class MailHandlerTest < ActiveSupport::TestCase end def test_mail_with_attachment_latin2 + set_tmp_attachments_directory issue = submit_email( 'ticket_with_text_attachment_iso-8859-2.eml', :issue => {:project => 'ecookbook'} @@ -987,6 +993,7 @@ class MailHandlerTest < ActiveSupport::TestCase end def test_reply_to_a_nonexistent_issue + set_tmp_attachments_directory Issue.find(2).destroy assert_no_difference 'Issue.count' do assert_no_difference 'Journal.count' do |