mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-26 19:17:43 +01:00
Fixed tests
This commit is contained in:
parent
02e149c0bd
commit
45ab451f5f
@ -126,6 +126,7 @@ public class TestInit {
|
||||
BukkitServerInfoManager bukkitServerInfoManager = PowerMockito.mock(BukkitServerInfoManager.class);
|
||||
|
||||
when(bukkitServerInfoManager.getServerUUID()).thenReturn(serverUUID);
|
||||
when(planMock.getServerUuid()).thenReturn(serverUUID);
|
||||
when(planMock.getServerInfoManager()).thenReturn(bukkitServerInfoManager);
|
||||
RunnableFactory<Plan> runnableFactory = mockRunnableFactory();
|
||||
when(planMock.getRunnableFactory()).thenReturn(runnableFactory);
|
||||
|
Loading…
Reference in New Issue
Block a user