mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2024-11-28 12:45:15 +01:00
Fix tests
This commit is contained in:
parent
32251d4e48
commit
bc19f352e5
2
pom.xml
2
pom.xml
@ -320,6 +320,8 @@
|
|||||||
<!-- This is required to prevent Jacoco from adding
|
<!-- This is required to prevent Jacoco from adding
|
||||||
synthetic fields to a JavaBean class (causes errors in testing) -->
|
synthetic fields to a JavaBean class (causes errors in testing) -->
|
||||||
<exclude>**/*Names*</exclude>
|
<exclude>**/*Names*</exclude>
|
||||||
|
<!-- Prevents the Material is too large to mock error -->
|
||||||
|
<exclude>org/bukkit/Material*</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
|
@ -58,7 +58,6 @@ import world.bentobox.bentobox.managers.CommandsManager;
|
|||||||
import world.bentobox.bentobox.managers.FlagsManager;
|
import world.bentobox.bentobox.managers.FlagsManager;
|
||||||
import world.bentobox.bentobox.managers.IslandWorldManager;
|
import world.bentobox.bentobox.managers.IslandWorldManager;
|
||||||
import world.bentobox.bentobox.managers.IslandsManager;
|
import world.bentobox.bentobox.managers.IslandsManager;
|
||||||
import world.bentobox.bentobox.managers.RanksManager;
|
|
||||||
import world.bentobox.bskyblock.generators.ChunkGeneratorWorld;
|
import world.bentobox.bskyblock.generators.ChunkGeneratorWorld;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -198,10 +197,6 @@ public class BSkyBlockTest {
|
|||||||
// Settings
|
// Settings
|
||||||
when(plugin.getSettings()).thenReturn(settings);
|
when(plugin.getSettings()).thenReturn(settings);
|
||||||
|
|
||||||
// RanksManager
|
|
||||||
RanksManager rm = new RanksManager();
|
|
||||||
when(plugin.getRanksManager()).thenReturn(rm);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user