summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-19 16:56:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-19 16:56:13 +0000
commit3795c22730f470146b02110a168276dce45755a4 (patch)
tree3ca38d55cf930c3c7b19b5837e17d0bcadd2acca /test/unit
parent1079089e75495fe94c4fa276c153748c0b08dad8 (diff)
downloadredmine-3795c22730f470146b02110a168276dce45755a4.tar.gz
redmine-3795c22730f470146b02110a168276dce45755a4.zip
Makes project selection by subaddress optional (#20732).
git-svn-id: http://svn.redmine.org/redmine/trunk@14690 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/mail_handler_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb
index 5d392c6f4..1ec35adce 100644
--- a/test/unit/mail_handler_test.rb
+++ b/test/unit/mail_handler_test.rb
@@ -107,7 +107,8 @@ class MailHandlerTest < ActiveSupport::TestCase
# This email has redmine+onlinestore@somenet.foo as 'To' header
issue = submit_email(
'ticket_on_project_given_by_to_header.eml',
- :issue => {:tracker => 'Support request'}
+ :issue => {:tracker => 'Support request'},
+ :project_from_subaddress => 'redmine@somenet.foo'
)
assert issue.is_a?(Issue)
assert !issue.new_record?