From 741b6bd929036fdff08362c54b267b7fd18517e2 Mon Sep 17 00:00:00 2001 From: geneaky Date: Wed, 30 Oct 2024 21:37:02 +0900 Subject: [PATCH] =?UTF-8?q?test:=20chat=20appender=20=EC=9D=98=EC=A1=B4?= =?UTF-8?q?=EC=84=B1=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bookchat/bookchat/domain/user/service/UserServiceTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/toy/bookchat/bookchat/domain/user/service/UserServiceTest.java b/src/test/java/toy/bookchat/bookchat/domain/user/service/UserServiceTest.java index 135069a5..dc236991 100644 --- a/src/test/java/toy/bookchat/bookchat/domain/user/service/UserServiceTest.java +++ b/src/test/java/toy/bookchat/bookchat/domain/user/service/UserServiceTest.java @@ -24,6 +24,7 @@ import toy.bookchat.bookchat.db_module.device.repository.DeviceRepository; import toy.bookchat.bookchat.db_module.user.UserEntity; import toy.bookchat.bookchat.db_module.user.repository.UserRepository; +import toy.bookchat.bookchat.domain.chat.service.ChatAppender; import toy.bookchat.bookchat.domain.participant.service.ParticipantManager; import toy.bookchat.bookchat.domain.participant.service.ParticipantReader; import toy.bookchat.bookchat.domain.user.api.v1.request.ChangeUserNicknameRequest; @@ -52,6 +53,8 @@ class UserServiceTest { private ParticipantManager participantManager; @Mock private DeviceRepository deviceRepository; + @Mock + private ChatAppender chatAppender; @InjectMocks private UserService userService;