Skip to content

Commit

Permalink
Compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
1-alex98 committed Sep 24, 2022
1 parent 0f4f57c commit 88e794d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/com/faforever/client/game/GameServiceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ public void testStartSearchLadder1v1() throws Exception {

mockStartGameProcess(gameParameters);
when(leaderboardService.getActiveLeagueEntryForPlayer(junitPlayer, LADDER_1v1_RATING_TYPE)).thenReturn(completedFuture(Optional.empty()));
when(fafServerAccessor.startSearchMatchmaker()).thenReturn(completedFuture(gameLaunchMessage));
when(fafServerAccessor.getGameLaunchMessage()).thenReturn(completedFuture(gameLaunchMessage));
when(gameUpdater.update(featuredMod, Set.of(),null, null)).thenReturn(completedFuture(null));
when(mapService.isInstalled(map)).thenReturn(false);
when(mapService.download(map)).thenReturn(completedFuture(null));
Expand All @@ -545,7 +545,7 @@ public void testStartSearchLadder1v1() throws Exception {

instance.startSearchMatchmaker().join();

verify(fafServerAccessor).startSearchMatchmaker();
verify(fafServerAccessor).getGameLaunchMessage();
verify(mapService).download(map);
verify(replayServer).start(eq(uid), any());
verify(forgedAllianceService).startGameOnline(gameParameters);
Expand Down

0 comments on commit 88e794d

Please sign in to comment.