summaryrefslogtreecommitdiffstats
path: root/test/unit/mail_handler_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/mail_handler_test.rb')
-rw-r--r--test/unit/mail_handler_test.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb
index 634968ef4..dd4b60d50 100644
--- a/test/unit/mail_handler_test.rb
+++ b/test/unit/mail_handler_test.rb
@@ -1073,12 +1073,13 @@ class MailHandlerTest < ActiveSupport::TestCase
options = MailHandler.extract_options_from_env({
'tracker' => 'defect',
'project' => 'foo',
- 'unknown_user' => 'create'
+ 'unknown_user' => 'create',
+ 'no_notification' => '1'
})
assert_equal({
:issue => {:tracker => 'defect', :project => 'foo'},
- :unknown_user => 'create'
+ :unknown_user => 'create', :no_notification => '1'
}, options)
end