Fix the tests failing.

This commit is contained in:
graywolf336 2014-01-17 14:54:27 -06:00
parent 759df05bdd
commit d9d0de046d

View File

@ -47,7 +47,7 @@ public class TestJailCommandInfo {
CommandSender sender = creator.getCommandSender(); CommandSender sender = creator.getCommandSender();
assertTrue(main.onCommand(sender, command, "thisisnotavalidcommand", args)); assertTrue(main.onCommand(sender, command, "thisisnotavalidcommand", args));
verify(sender).sendMessage("No commands registered by the name of thisisnotavalidcommand."); verify(sender).sendMessage(ChatColor.RED + "No commands registered by the name of thisisnotavalidcommand.");
} }
@Test @Test
@ -59,7 +59,7 @@ public class TestJailCommandInfo {
CommandSender sender = creator.getCommandSender(); CommandSender sender = creator.getCommandSender();
assertTrue(main.onCommand(sender, command, "jailcreate", args)); assertTrue(main.onCommand(sender, command, "jailcreate", args));
verify(sender).sendMessage("A player context is required for this command."); verify(sender).sendMessage(ChatColor.RED + "A player context is required for this.");
} }
@Test @Test