refactor: Renamed `ChatRoom` into `ChatRoomData` - Aligned Code
authorKai Moritz <kai@juplo.de>
Mon, 4 Sep 2023 21:19:47 +0000 (23:19 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 4 Sep 2023 21:19:47 +0000 (23:19 +0200)
src/test/java/de/juplo/kafka/chat/backend/persistence/AbstractStorageStrategyIT.java

index 5088d99..1835c85 100644 (file)
@@ -105,7 +105,7 @@ public abstract class AbstractStorageStrategyIT
     assertThat(chathome
         .getChatRoomData(chatRoomAId)
         .flatMapMany(cr -> cr.getMessages())).emitsExactly(ma1, ma2, ma3, ma4);
-    assertThat(chathome.getChatRoomData(chatRoomBId)).emitsExactly(chatroomB);
+    assertThat(chathome.getChatRoomInfo(chatRoomBId)).emitsExactly(infoB);
     assertThat(chathome
         .getChatRoomData(chatRoomBId)
         .flatMapMany(cr -> cr.getMessages())).emitsExactly(mb1, mb2, mb3, mb4);