Skip to content

Commit 6c80075

Browse files
committed
fix: test 코드 수정
1 parent ea73250 commit 6c80075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/dfbf/soundlink/domain/chatRoom/ChatRoomServiceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ void testSaveRequestToRedis_SUCCESS() {
127127
when(blockListRepository.existsByUser_UserIdAndBlockedUser_UserId(responseUserId, requestUserId)).thenReturn(false); // 차단된 사용자 없음
128128

129129
// 알림 서비스 mock
130-
when(alertService.send(eq(responseUserId), eq("alarm"), any(Alert.class)))
131-
.thenReturn(new ResponseResult(ErrorCode.SUCCESS)); // 알림 전송 mock
130+
// when(alertService.send(eq(responseUserId), eq("alarm"), any(Alert.class)))
131+
// .thenReturn(new ResponseResult(ErrorCode.SUCCESS)); // 알림 전송 mock
132132

133133
// Redis 관련 mock 설정
134134
ValueOperations<String, Object> valueOps = mock(ValueOperations.class); // ValueOperations 객체 생성

0 commit comments

Comments
 (0)