summaryrefslogtreecommitdiffstats
path: root/test/functional/my_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/my_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/my_controller_test.rb')
-rw-r--r--test/functional/my_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/my_controller_test.rb b/test/functional/my_controller_test.rb
index 2bf8b3516..6e93e3303 100644
--- a/test/functional/my_controller_test.rb
+++ b/test/functional/my_controller_test.rb
@@ -506,8 +506,8 @@ class MyControllerTest < Redmine::ControllerTest
assert_select 'a[href^=?]', 'http://localhost:3000/my/account', :text => 'My account'
end
# The old email address should be notified about the change for security purposes
- assert [mail.bcc, mail.cc].flatten.include?(User.find(2).mail)
- assert [mail.bcc, mail.cc].flatten.include?('foobar@example.com')
+ assert mail.to.include?(User.find(2).mail)
+ assert mail.to.include?('foobar@example.com')
end
def test_my_account_notify_about_high_priority_issues_preference