Skip to content

Commit 64389be

Browse files
committed
Fix test
1 parent 3e7b165 commit 64389be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/com/faforever/client/replay/ReplayServiceTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
import reactor.util.function.Tuple2;
5252
import reactor.util.function.Tuples;
5353

54-
import java.nio.ByteBuffer;
5554
import java.nio.file.Files;
5655
import java.nio.file.Path;
5756
import java.time.Instant;
@@ -186,7 +185,7 @@ public void setUp() throws Exception {
186185

187186
lenient().when(replayFileReader.parseReplay(any())).thenReturn(replayDataParser);
188187
lenient().when(replayDataParser.getMetadata()).thenReturn(replayMetadata);
189-
lenient().when(replayDataParser.getData()).thenReturn(ByteBuffer.wrap(REPLAY_FIRST_BYTES));
188+
lenient().when(replayDataParser.getRawReplayData()).thenReturn(REPLAY_FIRST_BYTES);
190189
lenient().when(replayDataParser.getChatMessages()).thenReturn(List.of());
191190
lenient().when(replayDataParser.getGameOptions()).thenReturn(List.of());
192191
lenient().when(replayDataParser.getMods()).thenReturn(Map.of());

0 commit comments

Comments
 (0)