Skip to content

Commit 5d0e3bc

Browse files
committed
Fix: 테스트에서 사용하지 않는 웹소켓 로직 제거
1 parent 7b81b8d commit 5d0e3bc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/test/java/com/back/domain/chat/room/controller/RoomChatApiControllerTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,6 @@ void t6() throws Exception {
205205
.andExpect(jsonPath("$.data.clearedBy.userId").value(userId))
206206
.andExpect(jsonPath("$.data.clearedBy.nickname").value("방장"))
207207
.andExpect(jsonPath("$.data.clearedBy.role").value("HOST"));
208-
209-
// WebSocket 메시지가 전송되었는지 확인
210-
verify(messagingTemplate).convertAndSend(
211-
eq("/topic/room/" + roomId + "/chat-cleared"),
212-
any(ChatClearedNotification.class)
213-
);
214208
}
215209

216210
@Test

0 commit comments

Comments
 (0)