Details
-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
NEW
-
NEW
Description
In classes EmailDeadlinesBaseTest and TaskReminderTest there are tests that test e-mail functionality. In these tests there is this code:
_
assertEquals("tony@domain.com", ((InternetAddress) msg.getRecipients(RecipientType.TO)[0]).getAddress());
assertEquals("darth@domain.com", ((InternetAddress) msg.getRecipients(RecipientType.TO)[1]).getAddress());_
This is wrong, because received messages are randomly ordered, because they are sent asynchronously.