From 2a2aef53fbd0f70bd4cbb45823be0d039560c9b1 Mon Sep 17 00:00:00 2001 From: Ali Moghnieh Date: Mon, 11 Jul 2016 00:47:25 +0100 Subject: [PATCH] This is the real fix for MessagingTests. --- Essentials/test/com/earth2me/essentials/MessagingTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Essentials/test/com/earth2me/essentials/MessagingTest.java b/Essentials/test/com/earth2me/essentials/MessagingTest.java index 712d084f0..4d8dcc387 100644 --- a/Essentials/test/com/earth2me/essentials/MessagingTest.java +++ b/Essentials/test/com/earth2me/essentials/MessagingTest.java @@ -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!");