mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 13:15:28 +01:00
Fixes MobSpawnListener test class
This commit is contained in:
parent
ee5a2c920b
commit
9f997f4548
@ -121,6 +121,11 @@ public class MobSpawnListenerTest {
|
||||
|
||||
// Default - plugin is loaded
|
||||
when(plugin.isLoaded()).thenReturn(true);
|
||||
|
||||
// Utils
|
||||
when(Util.isPassiveEntity(Mockito.any())).thenCallRealMethod();
|
||||
when(Util.isHostileEntity(Mockito.any())).thenCallRealMethod();
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user