Skip to content

Commit

Permalink
test(fix) FC-Chilli-Bubble#125: 의존성 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JoonheeJeong committed Oct 4, 2023
1 parent da07837 commit 2061b03
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import fastcampus.team7.Livable_officener.repository.ChatRepository;
import fastcampus.team7.Livable_officener.repository.DeliveryParticipantRepository;
import fastcampus.team7.Livable_officener.repository.DeliveryRepository;
import fastcampus.team7.Livable_officener.repository.NotificationRepository;
import org.json.JSONObject;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
Expand Down Expand Up @@ -47,6 +48,11 @@ class ChatServiceSendTest {
private static DeliveryRepository roomRepository;
@Mock
private static DeliveryParticipantRepository roomParticipantRepository;

@Mock
private static NotificationRepository notificationRepository;
@Mock
private static FCMService fcmService;
@Mock
private static WebSocketSessionManager webSocketSessionManager;

Expand All @@ -65,6 +71,7 @@ class ChatServiceSendTest {
void beforeEach() {
sut = new ChatService(mapper, chatRepository, null, null,
roomRepository, roomParticipantRepository,
notificationRepository, fcmService,
webSocketSessionManager);
}

Expand Down

0 comments on commit 2061b03

Please sign in to comment.