1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Fix random failing test introduced in r21130 (#35957, #34169).

git-svn-id: http://svn.redmine.org/redmine/trunk@21242 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2021-10-09 06:52:27 +00:00
parent d91f644a14
commit 23487333a0

View File

@ -159,10 +159,11 @@ class MessagesControllerTest < Redmine::ControllerTest
assert_mail_body_match 'Message body', mail
end
email_addresses = mails.map(&:to)
# author
assert_equal ['jsmith@somenet.foo'], mails[0].to
assert_includes email_addresses, ['jsmith@somenet.foo']
# project member
assert_equal ['dlopper@somenet.foo'], mails[1].to
assert_includes email_addresses, ['dlopper@somenet.foo']
end
def test_get_edit