Project

General

Profile

Defect #35957

Updated by Go MAEDA over 2 years ago

<pre> 
 Failure: 
 MessagesControllerTest#test_post_new [/usr/src/redmine/test/functional/messages_controller_test.rb:163]: 
 Expected: ["jsmith@somenet.foo"] 
   Actual: ["dlopper@somenet.foo"] 

 rails test test/functional/messages_controller_test.rb:131 
 </pre> 

 There is no guarantee that the elements will be in the order of "first: author, second: member" in the array mails, so the test should be modified so that it does not depend on the order. 

 I've had the same problem before and fixed it(#34169), but the change in r21130 https://www.redmine.org/projects/redmine/repository/revisions/21130 seems to have caused the problem again.

Back