Actions
Defect #35957
closedMessagesControllerTest#test_post_new test fails (trunk)
Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
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
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 seems to have caused the problem again.
Files
Related issues
Updated by Mizuki ISHIKAWA about 3 years ago
- File fix-test.patch fix-test.patch added
A patch for the fix is attached.
Updated by Marius BĂLTEANU about 3 years ago
- Status changed from New to Confirmed
- Assignee set to Marius BĂLTEANU
Updated by Marius BĂLTEANU about 3 years ago
- Status changed from Confirmed to Closed
- Resolution set to Fixed
Committed, thanks!
Updated by Go MAEDA about 3 years ago
- Related to Feature #30820: Drop setting "Blind carbon copy recipients (bcc)" added
Actions