mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
MessagesControllerTest#test_post_new randomly fails (#34169).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@20242 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -146,10 +146,11 @@ class MessagesControllerTest < Redmine::ControllerTest
|
|||||||
assert_mail_body_match 'Message body', mail
|
assert_mail_body_match 'Message body', mail
|
||||||
end
|
end
|
||||||
|
|
||||||
|
bcc_email_addresses = mails.map(&:bcc).flatten
|
||||||
# author
|
# author
|
||||||
assert_equal ['jsmith@somenet.foo'], mails[0].bcc
|
assert_includes bcc_email_addresses, 'jsmith@somenet.foo'
|
||||||
# project member
|
# project member
|
||||||
assert_equal ['dlopper@somenet.foo'], mails[1].bcc
|
assert_includes bcc_email_addresses, 'dlopper@somenet.foo'
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_get_edit
|
def test_get_edit
|
||||||
|
|||||||
Reference in New Issue
Block a user