Skip to content

Commit

Permalink
test: 임시 테스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
smartandhandsome committed Nov 27, 2023
1 parent bcfb1e1 commit d55f62b
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
import static coffeemeet.server.common.fixture.entity.UserFixture.fourUsers;
import static coffeemeet.server.common.fixture.entity.UserFixture.user;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.ArgumentMatchers.anySet;
import static org.mockito.BDDMockito.given;
import static org.mockito.BDDMockito.then;
import static org.mockito.BDDMockito.willDoNothing;
import static org.mockito.Mockito.only;

import coffeemeet.server.chatting.current.domain.ChattingMessage;
Expand Down Expand Up @@ -76,8 +73,8 @@ void chattingTest() {
given(chattingRoomQuery.getChattingRoomById(chattingRoom.getId())).willReturn(chattingRoom);
given(userQuery.getUsersByRoom(chattingRoom)).willReturn(users);
given(userQuery.getUserById(user.getId())).willReturn(user);
willDoNothing().given(fcmNotificationSender)
.sendMultiNotifications(anySet(), any());
// willDoNothing().given(fcmNotificationSender)
// .sendMultiNotifications(anySet(), any());
given(chattingMessageCommand.createChattingMessage(content, chattingRoom, user)).willReturn(
chattingMessage);

Expand Down

0 comments on commit d55f62b

Please sign in to comment.