diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2021-08-01 17:25:13 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2021-08-01 17:25:13 +0000 |
commit | 805b36cbfbb0291f4aa4dfaa009bb088386749a9 (patch) | |
tree | e452a3dea0d8ca11ce43ab94a48f2ee679df8c71 /test/functional/email_addresses_controller_test.rb | |
parent | c6933b6203f7a4ef13d82c8f86581380e418b1e7 (diff) | |
download | redmine-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/email_addresses_controller_test.rb')
-rw-r--r-- | test/functional/email_addresses_controller_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/email_addresses_controller_test.rb b/test/functional/email_addresses_controller_test.rb index 5984cf886..7242bb294 100644 --- a/test/functional/email_addresses_controller_test.rb +++ b/test/functional/email_addresses_controller_test.rb @@ -172,8 +172,8 @@ class EmailAddressesControllerTest < Redmine::ControllerTest assert_select 'a[href^=?]', 'http://localhost:3000/my/account', :text => 'My account' end # The old email address should be notified about a new address for security purposes - assert [mail.bcc, mail.cc].flatten.include?(User.find(2).mail) - assert [mail.bcc, mail.cc].flatten.include?('something@example.fr') + assert mail.to.include?(User.find(2).mail) + assert mail.to.include?('something@example.fr') end def test_update @@ -230,7 +230,7 @@ class EmailAddressesControllerTest < Redmine::ControllerTest assert_mail_body_match I18n.t(:mail_body_security_notification_notify_disabled, value: 'another@somenet.foo'), mail # The changed address should be notified for security purposes - assert [mail.bcc, mail.cc].flatten.include?('another@somenet.foo') + assert mail.to.include?('another@somenet.foo') end def test_destroy @@ -300,6 +300,6 @@ class EmailAddressesControllerTest < Redmine::ControllerTest assert_mail_body_match I18n.t(:mail_body_security_notification_remove, field: I18n.t(:field_mail), value: 'another@somenet.foo'), mail # The removed address should be notified for security purposes - assert [mail.bcc, mail.cc].flatten.include?('another@somenet.foo') + assert mail.to.include?('another@somenet.foo') end end |