diff --git a/src/test/java/test/java/com/graywolf336/jail/TestJailCommandInfo.java b/src/test/java/test/java/com/graywolf336/jail/TestJailCommandInfo.java index 34b358d..8076c5f 100644 --- a/src/test/java/test/java/com/graywolf336/jail/TestJailCommandInfo.java +++ b/src/test/java/test/java/com/graywolf336/jail/TestJailCommandInfo.java @@ -47,7 +47,7 @@ public class TestJailCommandInfo { CommandSender sender = creator.getCommandSender(); 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 @@ -59,7 +59,7 @@ public class TestJailCommandInfo { CommandSender sender = creator.getCommandSender(); 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