Fix tests

This commit is contained in:
filoghost 2022-10-01 19:42:10 +02:00
parent 8ddb63835d
commit 39f3f49504

View File

@ -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");
}