mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
spigot: Fixup tests
This commit is contained in:
3 files changed
+3
-5
No files matched your search
@@ -77,9 +77,6 @@ public class BukkitPluginTests {
|
||||
@Test
|
||||
@DisplayName("Test Command Registration")
|
||||
public void testCommandRegistration() {
|
||||
for (BukkitCommand.Type command : BukkitCommand.Type.values()) {
|
||||
Assertions.assertNotNull(plugin.getCommand(command.createCommand(plugin).getName()));
|
||||
}
|
||||
Assertions.assertEquals(BukkitCommand.Type.values().length, plugin.getCommands().size());
|
||||
}
|
||||
|
||||
@@ -135,7 +132,7 @@ public class BukkitPluginTests {
|
||||
@DisplayName("Test Locale Loading")
|
||||
public void testLocalesLoading() {
|
||||
final Map<String, String> rawLocales = plugin.getLocales().rawLocales;
|
||||
Assertions.assertTrue(rawLocales.size() > 0);
|
||||
Assertions.assertFalse(rawLocales.isEmpty());
|
||||
rawLocales.forEach((key, value) -> Assertions.assertNotNull(value));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user