mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 03:38:28 +00:00
This is the real fix for MessagingTests.
This commit is contained in:
parent
3651e672d4
commit
2a2aef53fb
1 changed files with 1 additions and 4 deletions
|
@ -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!");
|
||||
|
|
Loading…
Reference in a new issue