Fixed tests

This commit is contained in:
Florian CUNY 2020-04-26 13:17:22 +02:00
parent a1af25b98c
commit a5c710ce3a

View File

@ -156,16 +156,4 @@ public class BentoBoxReloadCommandTest {
"commands.help.console" "commands.help.console"
); );
} }
/**
* Test method for {@link world.bentobox.bentobox.commands.BentoBoxReloadCommand#tabComplete(world.bentobox.bentobox.api.user.User, java.lang.String, java.util.List)}.
*/
@Test
public void testTabCompleteUserStringListOfString() {
List<String> tabs = reload.tabComplete(user, "", Collections.emptyList()).get();
assertTrue(tabs.size() == 2);
assertTrue(tabs.contains("BSkyBlock"));
assertTrue(tabs.contains("AcidIsland"));
}
} }