File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/test/java/com/faforever/client/replay Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 5151import reactor .util .function .Tuple2 ;
5252import reactor .util .function .Tuples ;
5353
54- import java .nio .ByteBuffer ;
5554import java .nio .file .Files ;
5655import java .nio .file .Path ;
5756import 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 ());
You can’t perform that action at this time.
0 commit comments