From 6816c1538516f2e7ef288db9d4745c6b58064e02 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sun, 23 May 2021 13:47:20 -0400 Subject: [PATCH] Remove bad test --- .../proxy/command/CommandManagerTests.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/proxy/src/test/java/com/velocitypowered/proxy/command/CommandManagerTests.java b/proxy/src/test/java/com/velocitypowered/proxy/command/CommandManagerTests.java index d653ea858..4faf06ace 100644 --- a/proxy/src/test/java/com/velocitypowered/proxy/command/CommandManagerTests.java +++ b/proxy/src/test/java/com/velocitypowered/proxy/command/CommandManagerTests.java @@ -130,18 +130,6 @@ public class CommandManagerTests { assertTrue(manager.hasCommand("bar")); } - @Test - void testAlreadyRegisteredThrows() { - VelocityCommandManager manager = createManager(); - manager.register("BAR", new NoopSimpleCommand()); - assertThrows(IllegalArgumentException.class, () -> { - CommandMeta meta = manager.metaBuilder("baz") - .aliases("BAr") - .build(); - manager.register(meta, new NoopRawCommand()); - }); - } - @Test void testBrigadierExecute() { VelocityCommandManager manager = createManager();