Project

General

Profile

Defect #35957 ยป fix-test.patch

Mizuki ISHIKAWA, 2021-10-06 10:16

View differences:

test/functional/messages_controller_test.rb
159 159
      assert_mail_body_match 'Message body', mail
160 160
    end
161 161

  
162
    email_addresses = mails.map(&:to)
162 163
    # author
163
    assert_equal ['jsmith@somenet.foo'], mails[0].to
164
    assert_includes email_addresses, ['jsmith@somenet.foo']
164 165
    # project member
165
    assert_equal ['dlopper@somenet.foo'], mails[1].to
166
    assert_includes email_addresses, ['dlopper@somenet.foo']
166 167
  end
167 168

  
168 169
  def test_get_edit
    (1-1/1)