mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-23 11:15:24 +01:00
Fix InvincibleVisitorsListenerTest.
This commit is contained in:
parent
74023914a7
commit
6c775329d0
@ -114,7 +114,7 @@ public class InvincibleVisitorsListenerTest {
|
||||
when(player.getUniqueId()).thenReturn(uuid);
|
||||
PowerMockito.mockStatic(Util.class);
|
||||
when(Util.getWorld(any())).thenReturn(mock(World.class));
|
||||
|
||||
when(Util.prettifyText(anyString())).thenCallRealMethod();
|
||||
FlagsManager fm = mock(FlagsManager.class);
|
||||
Flag flag = mock(Flag.class);
|
||||
when(flag.isSetForWorld(any())).thenReturn(false);
|
||||
|
Loading…
Reference in New Issue
Block a user