summaryrefslogtreecommitdiffstats
path: root/test/functional/messages_controller_test.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2021-08-01 17:25:13 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2021-08-01 17:25:13 +0000
commit805b36cbfbb0291f4aa4dfaa009bb088386749a9 (patch)
treee452a3dea0d8ca11ce43ab94a48f2ee679df8c71 /test/functional/messages_controller_test.rb
parentc6933b6203f7a4ef13d82c8f86581380e418b1e7 (diff)
downloadredmine-805b36cbfbb0291f4aa4dfaa009bb088386749a9.tar.gz
redmine-805b36cbfbb0291f4aa4dfaa009bb088386749a9.zip
Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).
git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/messages_controller_test.rb')
-rw-r--r--test/functional/messages_controller_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/messages_controller_test.rb b/test/functional/messages_controller_test.rb
index 88f3691e4..f5760b08f 100644
--- a/test/functional/messages_controller_test.rb
+++ b/test/functional/messages_controller_test.rb
@@ -159,11 +159,10 @@ class MessagesControllerTest < Redmine::ControllerTest
assert_mail_body_match 'Message body', mail
end
- bcc_email_addresses = mails.map(&:bcc).flatten
# author
- assert_includes bcc_email_addresses, 'jsmith@somenet.foo'
+ assert_equal ['jsmith@somenet.foo'], mails[0].to
# project member
- assert_includes bcc_email_addresses, 'dlopper@somenet.foo'
+ assert_equal ['dlopper@somenet.foo'], mails[1].to
end
def test_get_edit