Fix tests
This commit is contained in:
parent
8ddb63835d
commit
39f3f49504
|
@ -23,6 +23,7 @@ public class Mocks {
|
|||
SERVER_LOGGER = mock(Logger.class);
|
||||
SERVER = mock(Server.class);
|
||||
when(SERVER.getLogger()).thenReturn(SERVER_LOGGER);
|
||||
when(SERVER.isPrimaryThread()).thenReturn(true);
|
||||
PLUGIN = mock(Plugin.class);
|
||||
when(PLUGIN.getName()).thenReturn("HolographicDisplays");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue