mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2025-01-27 02:01:20 +01:00
Fix tests
This commit is contained in:
parent
8ddb63835d
commit
39f3f49504
@ -23,6 +23,7 @@ public class Mocks {
|
|||||||
SERVER_LOGGER = mock(Logger.class);
|
SERVER_LOGGER = mock(Logger.class);
|
||||||
SERVER = mock(Server.class);
|
SERVER = mock(Server.class);
|
||||||
when(SERVER.getLogger()).thenReturn(SERVER_LOGGER);
|
when(SERVER.getLogger()).thenReturn(SERVER_LOGGER);
|
||||||
|
when(SERVER.isPrimaryThread()).thenReturn(true);
|
||||||
PLUGIN = mock(Plugin.class);
|
PLUGIN = mock(Plugin.class);
|
||||||
when(PLUGIN.getName()).thenReturn("HolographicDisplays");
|
when(PLUGIN.getName()).thenReturn("HolographicDisplays");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user