Fixed tests

This commit is contained in:
Rsl1122 2017-09-25 15:01:26 +03:00
parent 02e149c0bd
commit 45ab451f5f

View File

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