summaryrefslogtreecommitdiff
path: root/src/test/java/com/keuin
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-08-14 13:04:39 +0800
committerKeuin <[email protected]>2022-08-14 13:04:39 +0800
commit5b28dc6deaeb85901205b5d2c54587a3184ab8b1 (patch)
tree936f2452ffd35bb39f2eabb6c30d05f916d30932 /src/test/java/com/keuin
parentcd33c1361a47aa6f8a5e484c0025a0a4fab6cb51 (diff)
Bugfix: history message replay is not working. Now its behavior is the same with legacy BungeeCross.
Diffstat (limited to 'src/test/java/com/keuin')
-rw-r--r--src/test/java/com/keuin/crosslink/messaging/history/HistoricMessageRecorderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/keuin/crosslink/messaging/history/HistoricMessageRecorderTest.java b/src/test/java/com/keuin/crosslink/messaging/history/HistoricMessageRecorderTest.java
index 4dfdfd4..2d8dedf 100644
--- a/src/test/java/com/keuin/crosslink/messaging/history/HistoricMessageRecorderTest.java
+++ b/src/test/java/com/keuin/crosslink/messaging/history/HistoricMessageRecorderTest.java
@@ -23,7 +23,7 @@ class HistoricMessageRecorderTest {
Thread.sleep(500);
var list = recorder.getMessages();
assertEquals(1, list.size());
- assertEquals(msg, list.get(0));
+ assertEquals(msg, list.get(0).getV());
Thread.sleep(510);
list = recorder.getMessages();
assertEquals(0, list.size());