summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java')
-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());