summaryrefslogtreecommitdiffstats
path: root/test/unit/issue_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/issue_test.rb')
-rw-r--r--test/unit/issue_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb
index 14124f7bd..3957a7a60 100644
--- a/test/unit/issue_test.rb
+++ b/test/unit/issue_test.rb
@@ -3017,7 +3017,7 @@ class IssueTest < ActiveSupport::TestCase
end
test "Issue#recipients should include the author if the author is active" do
- issue = Issue.generate!(:author => User.generate!)
+ issue = Issue.generate!(:author => User.generate!(:mail_notification => 'only_my_events'))
assert issue.author, "No author set for Issue"
assert issue.recipients.include?(issue.author.mail)
end