Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jan 13, 2024
1 parent 32251d4 commit bc19f35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
5 changes: 0 additions & 5 deletions src/test/java/world/bentobox/bskyblock/BSkyBlockTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
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;

/**
Expand Down Expand Up @@ -198,10 +197,6 @@ public void setUp() throws Exception {
// Settings
when(plugin.getSettings()).thenReturn(settings);

// RanksManager
RanksManager rm = new RanksManager();
when(plugin.getRanksManager()).thenReturn(rm);

}

/**
Expand Down

0 comments on commit bc19f35

Please sign in to comment.