Fix tests

This commit is contained in:
tastybento 2024-01-13 08:05:30 -08:00
parent 32251d4e48
commit bc19f352e5
2 changed files with 2 additions and 5 deletions

View File

@ -320,6 +320,8 @@
<!-- This is required to prevent Jacoco from adding
synthetic fields to a JavaBean class (causes errors in testing) -->
<exclude>**/*Names*</exclude>
<!-- Prevents the Material is too large to mock error -->
<exclude>org/bukkit/Material*</exclude>
</excludes>
</configuration>
<executions>

View File

@ -58,7 +58,6 @@ import world.bentobox.bentobox.managers.CommandsManager;
import world.bentobox.bentobox.managers.FlagsManager;
import world.bentobox.bentobox.managers.IslandWorldManager;
import world.bentobox.bentobox.managers.IslandsManager;
import world.bentobox.bentobox.managers.RanksManager;
import world.bentobox.bskyblock.generators.ChunkGeneratorWorld;
/**
@ -198,10 +197,6 @@ public class BSkyBlockTest {
// Settings
when(plugin.getSettings()).thenReturn(settings);
// RanksManager
RanksManager rm = new RanksManager();
when(plugin.getRanksManager()).thenReturn(rm);
}
/**