This is the real fix for MessagingTests.

This commit is contained in:
Ali Moghnieh 2016-07-11 00:47:25 +01:00
parent 3651e672d4
commit 2a2aef53fb
No known key found for this signature in database
GPG Key ID: F09D3A1BAF2E6D70
1 changed files with 1 additions and 4 deletions

View File

@ -79,9 +79,6 @@ public class MessagingTest {
if (ess.getSettings().isLastMessageReplyRecipient()) {
assertNull(console.getReplyRecipient()); // console never messaged or received messages from anyone.
// console should now have its reply-recipient as user1, since the console doesn't have a previous recipient.
assertEquals(console.getReplyRecipient(), user1);
if (ess.getSettings().isLastMessageReplyRecipient()) {
runCommand("r", user1, "This is me sending you a message using /r without you replying!");
}
@ -110,7 +107,7 @@ public class MessagingTest {
runCommand("msg", user1, console.getName() + " Hey, master!");
// console should now have its reply-recipient as user1, since the console doesn't have a previous recipient.
assertEquals(console.getReplyRecipient(), user1);
assertEquals(user1, console.getReplyRecipient());
if (ess.getSettings().isLastMessageReplyRecipient()) {
runCommand("r", user1, "This is me sending you a message using /r without you replying!");